geerlingguy / internet-monitoring

Monitor your network and internet speed with Docker & Prometheus
1.28k stars 139 forks source link

Gauge Panels return N/A if left running #3

Closed daclarkson closed 3 years ago

daclarkson commented 3 years ago

image

Left docker containers running for over 24 hours and all three gauges started to return N/A.

Fixed by removing the "max data points" in the query options for the panels.

I am by no means an expert in this, I just like to play around with cool projects. Is this the correct way to resolve?

daclarkson commented 3 years ago

Ah, I see my issue is down leaving the time picker at 24 hours too.

Every day's a school day. :)

ArtMason commented 3 years ago

Mine just did this also about 12 hours ago. Everything was fine before this.

daclarkson commented 3 years ago

Changing the time range on the dashboard to "Last 12 hours" fixes it for me.

Looks like the default behaviour can be changed by editing the config file to 12h instead of 24h in the ping-speed-stats.json file.

  "time": {
    "from": "now-24h",
    "to": "now"
  },
maikxmh commented 3 years ago

Hi i got the same issue. For me it seems like the query options had a problem.. changing the value of „Max data points“ to 300 (24*60/5=288 data points for 24h) fix the problem.. you are not able to save this because the dashboard is locked.. maybe the dashboard can be fixed in the repo?

thanks

FD5D3CC6-7026-44D7-BDFF-753D0EBF2781

geerlingguy commented 3 years ago

Yeah I need to fix this in the repo...

geerlingguy commented 3 years ago

Done!