sitespeedio / grafana-bootstrap-docker

59 stars 77 forks source link

SiteSummary Dashboard composes wrong query #37

Open AntoniusGolly opened 3 years ago

AntoniusGolly commented 3 years ago

The prepared Dashboards are great to integrate sitespeed with Grafana.

For example https://github.com/sitespeedio/grafana-bootstrap-docker/blob/main/dashboards/graphite/SiteSummary.json gives a nice overview of the measured metrics.

These are the queries composed for the first panel "First Visual Change"

sitespeed_io.pageSummary.summary....browsertime.visualMetrics.FirstVisualChange.median
sitespeed_io.pageSummary.summary....browsertime.visualMetrics.FirstVisualChange.max
sitespeed_io.pageSummary.summary....browsertime.visualMetrics.FirstVisualChange.min

This is the parametrized composition: image

The issue is (I guess) the combination pageSummary.summary which doesn't exist. It is either pageSummary or summary.

Any objections to change that globally?

I see that in the global Dashboard config this config exists:

image

So, based on that it should work. However the config for the dashboard overwrites this: image

AntoniusGolly commented 3 years ago

This is, how you actually retrieve data:

image (you need to edit the query in text form).

soulgalore commented 3 years ago

Hi @AntoniusGolly ok so some query is broken then I guess? Let me have a look so I understand what's wrong.