Skip to content

Commit

Permalink
DB - Updated ReadME with examples of the metrics that are gathered
Browse files Browse the repository at this point in the history
  • Loading branch information
David Boyne authored and David Boyne committed May 15, 2018
1 parent 5b9011b commit 74315ef
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,39 @@ Example: `http://localhost:8080/lighthouse?url=http://www.google.co.uk&product=g

Example: `http://localhost:8080/page-speed-insights?url=http://www.google.co.uk&product=google`

### Viewing dashboards
### Viewing your dashboards

You can view your dashboards at [http://localhost](http://localhost). You will be asked to login. Please use the credentials below.

- username: admin
- password: secret



# Metrics

| Metric | Description |
|--------------------------------------------------------|---------------------------------------------------|
| light_house_accessibility | Accessibility score from lighthouse (0/100). |
| light_house_best_practices | Best practices score from lighthouse (0/100) |
| light_house_first_interactive | The time to first interaction (ms) |
| light_house_first_meaningful_paint | The time to first meaningful paint (ms) |
| light_house_performance | Performance score from lighthouse (0/100) |
| light_house_progressive_web_app | Progressive web app score from lighthouse (0/100) |
| light_house_redirects | Number of redirects |
| light_house_seo | SEO Score from lighthouse (0/100) |
| light_house_speed_index_metric | Speed index |
| light_house_time_to_first_byte | Time to first byte (ms) |
| page_speed_insights_page_stats_cssResponseBytes | Total CSS Response in bytes |
| page_speed_insights_page_stats_htmlResponseBytes | Total HTML response in bytes |
| page_speed_insights_page_stats_imageResponseBytes | Total Image response in bytes |
| page_speed_insights_page_stats_javascriptResponseBytes | Total JavaScript response in bytes |
| page_speed_insights_page_stats_numberCssResources | Total CSS response in bytes |
| page_speed_insights_page_stats_numberJsResources | Total number of JavaScript files |
| page_speed_insights_speed_score_desktop | Speed score in desktop |
| page_speed_insights_speed_score_mobile | Speed score in mobile |
## Viewing Metrics in Prometheus

You can view any metrics gathered by Garie in the [prometheus dashboard](http://localhost:9090/).

You can view lighthouse metrics by typing `lighthouse_` in the input box. You should see all avalaible lighthouse metics.

You can also see page speed insight metrics by typing `page_speed_insights` into the input box.

0 comments on commit 74315ef

Please sign in to comment.