Metrics on are back

The metrics on 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.

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

1 Like

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

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 (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.

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.

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

Here is my request status

1 Like

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}{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 '' \
  --header 'authorization: Bearer eyJrIjoieW91IGRpbid0IHRoaW5rIHRoaXMgd291bGQgd29yayBkaWQgeW91PyIsIm4iOiJzaGFyZUltYWdlIiwiaWQiOjF9' -o test.png
1 Like