Metrics on status.ntppool.org are back


#1

The metrics on https://status.ntppool.org/ are back.

Are there other metrics that’d be interesting to add here? I’ve added the DNS queries per second (for a subset of the servers that the system are getting metrics for anyway).

It’s not super interesting because the statuspage system sems to average it up by 5 minutes; even in the 1 minute averages the brief peaks are quite smoothed out.


#2

Is it possible to provide dns query counts for country code zones? For rough estimation about which country uses the pool more heavily.


#3

That is exactly what I was thinking as I glanced over the status page!


#4

Yes, I’d like to do that, since it’s also what’s going to feed into the future automatic “help the weak zones” system. I don’t think it’s possible with statuspage.io (to create 100+ graphs, etc).

I have a grafana dashboard with a version of this; the query is pretty intensive on the prometheus backend and I don’t know how to make the grafana dashboard “secure enough for the internet”, so it’ll need some more work to figure out to share it.


#5

You could feed the data from Prometheus into something like Munin, which will make graph image files using RRDtool. These images can be hosted anywhere will little effort.


#6

You can setup a Grafana API key and use that key to download the direct share image.

Here is my request status


#7

Thanks @mengzhuo for the tip. I’ve been looking at sharing some of my stats myself.
To make it easier here is the request in curl. This returns a png from the specified dashboard and panel number.

curl 'https://{your-subdomain}.grafana.net/render/d-solo/{dashboard-ID}/{dashboard-slug}?panelId={panel-number}&from=6h&to=now&var-{optional-var-name}={optional-var-value}&orgId=1&tz={optional timezone e.g <Australia%2FBrisbane>}' \
  --header 'authorization: Bearer {api key with View permissions}' -o test.png

Complete fictitious example:

curl 'https://play.grafana.net/render/d-solo/d-solo/000000029/prometheus-dashboard?panelId=1&from=6h&to=now&var-job=example.com&orgId=1&tz=Australia%2FBrisbane' \
  --header 'authorization: Bearer eyJrIjoieW91IGRpbid0IHRoaW5rIHRoaXMgd291bGQgd29yayBkaWQgeW91PyIsIm4iOiJzaGFyZUltYWdlIiwiaWQiOjF9' -o test.png