Commit Graph

53 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 bfc32160a1
Replace lodash.forEach (#4378) 2024-12-29 23:40:49 +01:00
Peter Hedenskog 631271126f
New plugins structure and esmodule (#3769)
* New plugins structure and esmodule
2023-02-25 11:16:58 +01: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 23439a0d72
Use Coach 6.0 (beta). (#3194) 2020-11-26 23:16:07 +01:00
Kevin Lakotko 5397fceaff feat(metrics): allow filtering run metrics (#2697) 2019-10-14 21:36:37 +02:00
Peter Hedenskog 06c54fa2fa
Upgrade to Coach 3.0 (#2217)
* coach 3.0
* show privacy score
2018-11-20 00:44:28 +01:00
Peter Hedenskog 88f6fa2f80
first step to rephrase runindex and ise iteration instead (#2006) 2018-04-29 16:17:55 +02:00
soulgalore 72826cfb6e debug messages when generating summaries 2018-02-08 14:31:10 +01:00
Peter Hedenskog 3c77976c8c
Move PageXray to own plugin (#1877)
* Move PageXray to own plugin.

This makes it easier for WebPageTest (and other tools in the future)
to xray the HAR file.
2018-01-14 08:39:34 +01:00
Peter Hedenskog 312326ae51
Notify plugins that Browsertime and WebPageTest will run (#1875)
* Notify plugins that Browsertime and WebPageTest will run

Add message in the queue that Browsertime and WebPageTest are
read for getting configuration messages. This will make it possible
for other plugins to know if Browsertime or/and WebPageTest is
running.
2018-01-13 15:59:17 +01:00
Tobias Lidskog dce7ed094a
Pass additional BT config from plugins via message (#1766)
Push knowledge about config dependencies between plugins out to the plugins themselves. This reduces centralized knowledge.

This is not a way to specify dependencies on plugins that have to be loaded. We’ll see when (and if) we’ll tackle that.
2017-10-29 15:35:29 +01:00
Peter Hedenskog a12e4016af Feed plugins with filterRegistry (#1761) 2017-10-29 10:41:06 +01:00
Peter Hedenskog e81be5d689
Feed plugins with messageMaker (#1760) 2017-10-29 09:22:27 +01:00
Peter Hedenskog 800c42a127 Switch from hooks to messages (#1732)
* Switch from hooks to messages

This is the first step to get rid off hooks:
* Introduce two new messages: setup and final
* Logs a warning messages for all plugins that uses old hooks

The setup message will make it possible for plugins to pass
configuration to each other (send pugs to the HTML plugin,
send javascript (that collects metrics) to Browsertime and can
hopefully remove the post/preOpen hooks. The final message
replaces the postClose and final hook (or do we need more messages?).

Keep the hoosk deperecated through 6 and remove them in 7.0.

* lint

* more messages, let take of hooks later

* renaming

* rename summarize to sitespeedio.summarize
2017-10-28 16:28:50 +02:00
Tobias Lidskog 3debfec0b4 Format code using the Prettier formatter. (#1677) 2017-07-20 21:24:12 +02:00
Tobias Lidskog 720d3b93c2 Set plugin name by default when loading it 2017-03-13 17:40:29 +01:00
soulgalore c41e4a0bd9 fixed wrong name of cookieStats 2017-03-05 14:22:47 +01:00
soulgalore 9df1e47cbc send local storage size to Graphite 2017-03-04 22:50:14 +01:00
soulgalore 73d1d376eb send number of cookies to Graphite 2017-03-04 22:49:07 +01:00
soulgalore d5b36758cd fixed typeo: send number of scripts to Graphite 2017-03-04 22:45:11 +01:00
soulgalore d29cebc140 pickup the number of script tags 2017-03-03 09:55:39 +01:00
Tobias Lidskog a909854c45 Don't crash if page has only firstParty requests.
Fixes #1358
2016-12-03 23:34:31 +01:00
Tobias Lidskog ad94b4f265 Don’t crash html building if browser doesn’t start 2016-09-19 22:59:53 +02:00
Peter Hedenskog 233efda4e0 Create a toplist/hotlist tab (#1183)
* Collect the largest assets by type.
* Moved display shortURL to front end code 
* Collect cookie stats
* Collect slowest responses
* Styling quick links
* Styling coach score (now when we can)
2016-09-14 21:39:16 +02:00
soulgalore 07a9ed2fe9 always collect domElements, domDepth etc 2016-09-02 12:29:09 +02:00
soulgalore 2e0c7bae8d send only number of domains to Graphite closes #1176 2016-09-02 11:00:59 +02:00
soulgalore 31d43a33d1 send domains,expire and lastModfied to Graphite 2016-08-28 15:04:06 +02:00
soulgalore 26d9a662cd Include PageXray metrics in the summary #1162 2016-08-26 08:33:22 +02:00
Peter Hedenskog df5e82290f Lets group summaries (by domain for now) #1145 (#1153) 2016-08-25 14:01:55 +02:00
Tobias Lidskog fae6b8ba3d Tag messages with group, based on url or filename. (#1157)
Lay the foundation for grouping data from multiple urls. Tag all messages originating from a single url (browsertime.pageSummary, coach.pageSummary etc.) with a group. Aggregations based on group will be a breaking change, so that will follow in a later changeset.

Urls passed directly on the command line will be tagged with a group based on the domain. When passing urls via text files, the group will be generated from the file name.
2016-08-25 09:26:26 +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
Peter Hedenskog 12d7a1489a Summaryboxes (#1024)
More summary boxes, moved config to JS  #1005
2016-06-26 22:30:50 +02:00
Jonathan Lee ebe3f59777 Adding responseCodes to summary for graphit and summary HTML page (#944)
* Adding responseCodes to summary for graphite

* Adding 200, 301, and 404 response counts to summary html page
2016-05-22 09:45:57 +02:00
soulgalore d60276feb1 send responseCodes to Graphite (per page) #923 2016-05-21 21:40:36 +02:00
soulgalore 7d2fa540b1 put content types under contentType namespace (and pick up all types) closes #942 2016-05-20 22:19:42 +02:00
soulgalore 0900c2f2ff report only total amount of domains by default, not each domain in the summary 2016-05-16 11:24:52 +02:00
soulgalore 5d8afbd81f collect 1st/3rd party on the summary #915 2016-05-16 10:20:33 +02:00
soulgalore da7e4f7ae2 Support for first vs third party on page level #915 2016-05-16 07:44:16 +02:00
Jonathan Lee 906e538877 Adding overall score to default metrics that are delivered to graphite (#926) 2016-05-14 20:14:53 +02:00
soulgalore 73021be240 send most important pagexray metrics per page 2016-05-13 11:04:17 +02:00
soulgalore ce8750451c use the first page metrics from pagexray 2016-05-13 10:51:17 +02:00
soulgalore 29dc2f108d send overall scores per page to Graphite 2016-05-13 10:37:03 +02:00
soulgalore e3ac80a639 set default metrics for pagexray pagesummary 2016-05-13 08:46:56 +02:00
Tobias Lidskog 072e4bcde0 Add pageSummary for coach data.
Allows for html template to be slightly cleaner as well.
2016-05-12 00:32:50 +02:00
Tobias Lidskog 2e33963e50 Linting. 2016-05-08 07:32:53 +02:00
soulgalore f80d57203e create empty stats for missing content types 2016-04-17 22:42:42 +02:00
soulgalore 8905972ab3 rename snufkin to pagexray 2016-04-17 21:20:51 +02:00
soulgalore 2a7f180d7f collect snufkin summary data 2016-04-15 11:40:25 +02:00
soulgalore 8d984747d7 pickup right values and get the score 2016-04-15 09:59:00 +02:00