Closed alexdelprete closed 1 year ago
How would we go about doing that?
One can simply share the JSON model (dashboard settings) or publish an existing dashboard to https://grafana.com/grafana/dashboards/
But not sure how one can publish there :) so to have a JSON that one can copy and import (and edit to one’s needs like data source) might be the easiest solution.
How would we go about doing that?
I will replace the old one I made for the old project: https://grafana.com/grafana/dashboards/16339-speedtest-tracker/
This one is made for Influxdb2 with Flux queries, so users don't have to do anything. They simply create the datasource in Grafana (same parameters used in configuring influxdb2 in the app) then import the dashboard.
I think this is a good thing we should add to documentation, basically a Grafana starter kit for speedtest graphing. Going to transfer the issue to that repo.
I'm still polishing the dashboard...when ready, what do you want me to do to have this published in the docs?
Share in these comments how to set it up and I'll move it to a docs page.
Dashboard has been published on Grafana dash site: https://grafana.com/grafana/dashboards/17460-speedtest-tracker-v2/
The only thing the user needs is creating a new Data Source for InfluxDB, selecting Flux as Query Language, then configuring the URL of the influxdb2 server, the organization, the token and the default bucket. These configuration parameters are the same used in Speedtest Tracker to configure the integrated data export feature.
Once the data source is ready and tested, import this dashboard, and select the relevant data source just created.
Instructions for Grafana 9.x (check screenshots right below each list of steps):
datasource is working. 1 buckets found
After you created a working data source, you need to import the grafana dashboard (for each step, check screenshots below):
Import
import via grafana.com
type 17460 and click the Load
button Import
You're done. If everything went ok, you should see the dashboard with all data from Speedtest Tracker. :)
Do we want to publish a ready-made Grafana dashboard? :)
I just completed it. It shows the history of the tests, an average per server, and a table for all tests. I added the jitter and packet-loss to the table views. I hope the influxdb structure won't change much. :)