sitespeed.io icon indicating copy to clipboard operation
sitespeed.io copied to clipboard

Influx Template(s)

Open jholsgrove opened this issue 7 years ago • 5 comments

Hi,

I recently posed a query to @soulgalore about whether there were plans to create some more Influx templates for Grafana, much like the Graphite ones listed here.

It was mentioned that the current Influx one perhaps required some updating. So this issue is to discuss that.

I currently send metrics to Influx to graph using the Influx template linked above. Details of what I'm doing to achieve that are as follows:

  • docker run --shm-size=1g --network=cable --rm -v ${pwd}:/sitespeed.io sitespeedio/sitespeed.io login.js --multi -d 3 -b chrome https://urlToTest.com --influxdb.host xxx.xxx.xxx.xxx --influxdb.port 8086 --expose 8086 -c cable --budget.configPath myBudget.json --budget.output json --slack.hookUrl https://hooks.slack.com/services/blablabla --axe.enable
  • Sitespeed version 10.1.0
  • Running on Windows Server 2019 using Docker.

Happy to be a guinea pig for any amendments, adjustments or ideas people might have.

jholsgrove avatar Oct 02 '19 11:10 jholsgrove

HI @jholsgrove yeah it's time to give InfluxDB some love. I'm in the making of redoing the main dashboard for Graphite for 10.2 and let me redo the InfluxDB one too, following the same structure/pattern. It will also be good for me so I can keep track if there are metrics missing. I'll ping this issue in a couple of days when I have something for you to try out.

Best Peter

soulgalore avatar Oct 02 '19 13:10 soulgalore

Hi @jholsgrove you can try out https://github.com/sitespeedio/grafana-bootstrap-docker/blob/10.2.0/dashboards/influxdb/pageSummary.json ... it isn't finished but at least better than before. Need to publish a new release though to get the Long Tasks to work (we where missing a tag).

soulgalore avatar Oct 03 '19 06:10 soulgalore

Hey @soulgalore - that was unexpectedly quick, thank you!

Ignoring the long tasks, I have the following observations and questions:

  • What is the difference between the two DOM elements panels? I have one with data and one without.
  • User Timings is empty... I'm not sure i'm collecting that though, i need to double check - is it a browsertime parameter?
  • CPU (Chrome only) is empty but i know that isn't enabled (I will enable it going forward and look at it again soon)

Looking pretty good 🎉

jholsgrove avatar Oct 03 '19 08:10 jholsgrove

Hi @jholsgrove

What is the difference between the two DOM elements panels? I h

Think this was a miss by me.

User Timings is empty.

I've removed them for now, the current structure for user timings is not the best for Influx, you need to create it yourself.

I've updated the default ones now with the new 10.2.0 release.

Best Peter

soulgalore avatar Oct 07 '19 21:10 soulgalore

Awesome, many thanks for your efforts as always @soulgalore.

jholsgrove avatar Oct 09 '19 08:10 jholsgrove