Commit Graph

55 Commits

Author SHA1 Message Date
Peter Hedenskog b9456eef6e
Replace intel with sitespeed.io/log (#4381)
* Replace intel with sitespeed.io/log
2025-01-07 08:53:48 +01:00
Peter Hedenskog f886e0b6ee
Bye bye wpt (#4085)
* Bye WebPageTest

* remove more
2024-04-29 08:37:29 +02:00
Peter Hedenskog 8b06d2c51a
Extra safe check for annotations. (#3931)
https://github.com/sitespeedio/sitespeed.io/issues/3905
2023-08-07 10:41:39 +02:00
Peter Hedenskog 90346b65d7
Use browsertime runTime for Graphite/Influx and Grafana annotations and data. (#3900)
* Use browsertime runTime for Graphite/Influx and Grafana anootations and data.

The old implementation always used the start time for all metrics sent except
browsertime.run metrics (data for each run).

This fix instead makes sure that if metrics (and annotations) uses the browsertime.pageSummary runTime (when the actual first iteration happen).

This makes more sense if you test multiple pages within the same test.
2023-07-07 16:20:36 +02:00
Peter Hedenskog 20aaf551df
Handle non set proxy path (when not using the cli) (#3894) 2023-06-27 16:11:17 +02:00
Jonathan Goodman 404ce0029e
add proxyPath config for graphite web endpoint (#3893)
* add proxyPath config for graphite web endpoint

* fix lint
2023-06-27 15:36:34 +02:00
Peter Hedenskog 631271126f
New plugins structure and esmodule (#3769)
* New plugins structure and esmodule
2023-02-25 11:16:58 +01:00
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 21405d9473
Docs: How to upgrade Graphite using slug (#3343) 2021-04-15 10:53:31 +02: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
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
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 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 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 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 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
Omri 8193a31245 Add StatsD support (with bulking) (#1994)
* Add StatsD support with bulking
2018-04-24 13:33:34 +02:00
Peter Hedenskog ab68c444ad
Send annotations if you run WebPageTest standalone. (#1884)
* Send annotations if you run WebPageTest standalone.

Before we only sent annotations for Browsertime but if you run
WebPageTest standalone we should also send annotations.

* simplify as suggested by tobli
2018-01-23 14:12:56 +01:00
Peter Hedenskog a12e4016af Feed plugins with filterRegistry (#1761) 2017-10-29 10:41:06 +01:00
Tobias Lidskog 3debfec0b4 Format code using the Prettier formatter. (#1677) 2017-07-20 21:24:12 +02:00
Tobias Lidskog 33c91eef88 Minor style nits. 2017-04-30 08:49:09 +02:00
Tobias Lidskog 2682a38eab Don’t send empty metrics to Graphite.
Since we always appended a newline to the graphite data, the check for empty data was useless. Fix by appending a newline only if there’s actual data.
2017-04-30 08:37:40 +02:00
soulgalore e9ba9f308a verify that you set the host when you want to use Graphite 2017-04-24 23:20:17 +02:00
Tobias Lidskog 29fbcaa2db Refactor result storage/url handling, and tweak S3 (#1552)
* Allow S3 upload even when using custom outputFolder.
* Add new s3.path option, to override the default storage path in the S3 bucket.
* Change the default storage path in the S3 bucket to no longer include the prefix 'sitespeed-result’.
* Remove broken/not useful progress load for S3 upload (was producing 100000+ log lines.
* Extract result url building into separate module that’s made available to plugins via context.resultUrls.
2017-03-28 15:12:30 +02:00
Peter Hedenskog 1e528f65fd set sitespeedio as root name of all loggers (#1545) 2017-03-23 12:21:11 +01:00
Peter Hedenskog e46a7026eb Add log channel names per plugin thank you @jpvincent (#1544) 2017-03-23 08:57:03 +01:00
Pascal Borreli d41eeb82dc Fixed typos (#1530)
Signed-off-by: Pascal Borreli <pascal@borreli.com>
2017-03-19 08:07:29 +01:00
Tobias Lidskog 720d3b93c2 Set plugin name by default when loading it 2017-03-13 17:40:29 +01:00
soulgalore 8fe3a7296d Use same timestamp for runs and annotations #1497 2017-03-10 12:06:36 +01:00
Peter Hedenskog 5e80d8af84 Send annotations to Graphite for each tested URL (#1434) 2017-02-10 08:21:35 +01:00
Peter Hedenskog 0990cc90e5 Move cli defaults to plugins (#1238) 2016-10-11 00:01:05 +02:00
Tobias Lidskog 187eb3e0dd Replace custom isEmpty with lodash. 2016-09-29 20:29:46 +02:00
Tobias Lidskog 692834d1cc Only send group stats to both Influx and Graphite. 2016-09-06 22:42:21 +02:00
Peter Hedenskog df5e82290f Lets group summaries (by domain for now) #1145 (#1153) 2016-08-25 14:01:55 +02:00
Peter Hedenskog a32ea529a2 Configurable metrics keys (#1057)
* List metrics, filters and add/remove filters.
* List all configured filters
* List all possible metrics
* Add filters
* Remove filters
2016-08-21 20:14:01 +02:00
soulgalore 5e128526e8 Lets use the same timestamp for folder and all data sent to Graphite for one run #931 2016-05-17 12:54:07 +02:00
soulgalore ad0e9372ab Adding domain/filename to Graphite summary key #901 2016-05-17 08:31:25 +02:00