Commit Graph

98 Commits

Author SHA1 Message Date
Mason Malone 3ece3ad107
Fix sendAnnotation option (#3726)
The boolean "graphite.sendAnnotation" was added in
https://github.com/sitespeedio/sitespeed.io/pull/3625, but it can't be
disabled, because `opts.sendAnnotation || true` is always going to
evaluate to `true`. Since it defaults to `true`, the `|| true` shouldn't
be necessary, so I removed it.
2022-09-20 09:07:28 +02:00
Peter Hedenskog a57f965994
Make it easy to send run data to Graphite in a sane way (#3721)
* Bump to use latest Grafana and Graphite

* Do not send metrics from each run, only pageSummary by default

* Add limited run metrics to datasource and more sane setup

* limited by default

* Also collect cpu benchmark metric in the limited metrics
2022-09-13 19:00:26 +02:00
Peter Hedenskog ae64cf8b9c
Make it possible to disable annotations for Graphite. (#3625)
https://github.com/sitespeedio/sitespeed.io/issues/3624
2022-04-11 14:33:45 +02:00
Peter Hedenskog 1e9bea8bf0
Update to latest prettier/eslint setup (#3478) 2021-10-11 18:44:59 +02:00
Peter Hedenskog de3562a2de
Set slug by default to true. (#3434)
This is gonna be released in September in a new major release.

https://www.sitespeed.io/documentation/sitespeed.io/graphite/#upgrade-to-use-the-test-slug-in-the-namespace
2021-09-28 08:38:57 +02:00
Peter Hedenskog 21405d9473
Docs: How to upgrade Graphite using slug (#3343) 2021-04-15 10:53:31 +02:00
Peter Hedenskog e83467347b
Avoid sending the slug as annotation if the name collide. (#3279)
https://github.com/sitespeedio/sitespeed.io/issues/3277
2021-02-12 06:00:44 +01:00
Peter Hedenskog c248f8d736
Add slug after the namespace, that makes more sense (#3274) 2021-02-08 08:39:29 +01:00
Peter Hedenskog fa0f9e0126
Include slug in the annotation. (#3251) 2021-01-13 09:46:22 +01:00
Peter Hedenskog c54fe29f67
Make it possible to add the slug of the test as a key to the namespace. (#3240)
Also cleanup the old experimental setup.
2021-01-09 12:59:40 +01:00
Peter Hedenskog bbb663da2e
Fix broken annotation (#3238) 2021-01-06 16:11:31 +01:00
Peter Hedenskog 63e3443b44
Configure annotation retention to match Graphite (#3235) 2021-01-06 15:03:43 +01:00
Peter Hedenskog 5da5b31c9a
Skip sending summary information to Graphite using CLI config. (#3230) 2021-01-01 21:13:01 +01:00
Peter Hedenskog a17a3b3904
Handle alias correctly (#3222) 2020-12-22 12:51:33 +01:00
soulgalore 2814a5bfdf fix broken time convertion 2020-12-09 04:10:13 +01:00
Peter Hedenskog 5c32deeaef
Introducing slug for your test and a new experimental setup (#3203) 2020-12-08 19:48:51 +01:00
Peter Hedenskog 7cce73ea50
Remove experimental flag for perIteration metric for Graphite. (#3069)
* Remove exprimental flag for perIteration metric for Graphite.

* more updates per iteration
2020-07-09 21:21:23 +02:00
Erick Wilder c750fe2b4a
Move graphite cli options to plugin (#2991)
* test(cli): add graphite coverage for current cli options

* refactor(plugins/graphite): move CLI option definitions to plugin
2020-05-13 12:14:20 +02:00
Peter Hedenskog 3f136b2d5c
Add tag/key for desktop/mobile GPSI tests (#2917)
* Add tag/key for desktop/mobile GPSI tests

* new structure
2020-03-13 08:59:34 +01:00
Chris Adams b1d40bec16
Add carbon emissions figures for data over the wire [sustainability plugin] (#2868) 2020-02-21 16:43:53 +01:00
Peter Hedenskog 589ff06cb3
Pickup WebPageTest browser version if we run it standalone (#2793) 2019-11-19 20:29:22 -05:00
Peter Hedenskog 27e30351b3
Fix versions (#2792) 2019-11-19 20:09:11 -05:00
Peter Hedenskog d8a36370dc
Send browser version as part of annotation title. (#2791) 2019-11-19 17:48:36 -05:00
Peter Hedenskog 3d06f01119
Include sitespeed.io version in the annotation tag. (#2788) 2019-11-17 20:59:01 -05:00
Peter Hedenskog b1f6b9dc6f
Fix disaplaying wrong runs when using only WebPageTest #2777 (#2787) 2019-11-17 20:35:02 -05:00
Kevin Lakotko f803cde4e2 fix(graphite): update indexed keys with names (#2701) 2019-10-14 21:40:15 +02:00
soulgalore a6f46dc05c extra check 2019-10-07 12:02:34 +02:00
Peter Hedenskog ce83f9d9af
Move per iteration to experimental flag. (#2685)
--graphite.experimental.perIteration
2019-10-07 05:22:30 +02:00
Kevin Lakotko 673017b57d feat(graphite): add ability to send run metrics (#2679) 2019-10-07 04:55:04 +02:00
Peter Hedenskog 4f18d861c5
Use HAR file from WPT in annotations when Browsertime is turned off (#2609) 2019-08-29 08:26:26 +02:00
Peter Hedenskog 85c4056328
Add correct annotation tags when using WebPageTest. (#2602)
* Added connectivity and location tag for WebPageTest
* If you test both using WPT and BT, wait for all metrics to arrive before sending the annotation
* Fix link to WebPageTest that before could link to old result
2019-08-28 13:42:35 +02:00
Peter Hedenskog 549d0cdef4
Make it easy to run axe core (#2571)
* use axe with `--axe.enable`
2019-08-14 20:37:14 +02:00
Peter Hedenskog 1ac516406b
If you only run WebPageTest, add an annotation link to the WebPageTest result (#2528) 2019-07-01 20:00:24 +02:00
Peter Hedenskog 4a0d47dcfb
Use the third party web to categorise requests (#2394)
* Use the third party web to categorise requests
2019-03-26 23:37:25 +01:00
Markus Liljedahl 02c920b301 Added new option for Graphite, `--graphite.annotationTitle` (#2333)
* Added new option for Graphite, `--graphite.annotationTitle MyTitle`
to be able to set a custom title in the annotation.

* Removed the "run" in the end from the annotation when setting a custom title.

* Fixed linting issues in graphite send-annotation

* Update lib/cli/cli.js

Fix for copy-paste misstake

Co-Authored-By: mliljedahl <liljedahl.markus@gmail.com>
2019-02-28 20:23:26 +01:00
Peter Hedenskog 593f2daa28
add missing cases of using alias (#2248) 2019-01-12 21:42:02 +01:00
Peter Hedenskog 289a9c1b7b
Bt alias (#2247)
* Pickup alias from Browsertime.

Only Graphite/InfluxDb use it in this release, but we should fix so
the HTML also pick is up.

Also we should change the old alias so that it's passed around
with messages instead ... but that can happen later.

* Link to Grafana setup
2019-01-11 22:08:19 +01:00
Peter Hedenskog 7cc5562204
Remove Bluebird promises and use await/sync where we can. (#2205) 2018-11-20 09:14:05 +01:00
Peter Hedenskog 3e24d65466
Prepare for using Grafana annotations with tags (coming in Grafana 5.4) (#2152)
* Prepare for using Grafana annotations with tags (coming in Grafana 5.4) #1826

* push the cli when 5.4 Grafana is released
2018-09-28 09:34:06 +02:00
Peter Hedenskog bfa8d2ac53
Use path so we in the future can add full URL including index.html (#2148) 2018-09-16 20:29:40 +02:00
Peter Hedenskog dddaf3ba73
Include screenshots in annotations (#2144) 2018-09-16 12:24:25 +02:00
soulgalore ccc8cb2e13 fix linting 2018-07-26 11:17:44 +02:00
soulgalore 715828af38 Fix broken annotation link 2018-07-26 10:05:09 +02:00
Peter Hedenskog 0e9e6ea0e0
Add extra tags to annotations #2102 (#2112) 2018-07-25 09:46:52 +02:00
Peter Hedenskog 4b10db8338
Append message to annotation #2102 (#2114) 2018-07-24 22:18:00 +02:00
Omri da1f64ac9d [FIX] StatsD entry format (#2107)
* [dataGenerator] Test individual lines instead of bulk

* [dataGenerator] Add EOL to pattern test (should fail)

* [dataGenerator] only push timestamp to Graphite (not StatsD)
2018-07-23 14:50:37 +02:00
soulgalore cc65dae331 lint fix 2018-05-30 20:28:00 +02:00
Omri c6614cacfc FIX statsd timer (#2014)
* FIX statsd timer
2018-05-03 09:53:45 +02:00
Omri 8193a31245 Add StatsD support (with bulking) (#1994)
* Add StatsD support with bulking
2018-04-24 13:33:34 +02:00
soulgalore 758584c148 WebPagetest: Make location safe #1958 2018-03-22 06:08:24 +01:00