# Metrics on status.ntppool.org are back

**URL:** <https://community.ntppool.org/t/metrics-on-status-ntppool-org-are-back/867>\
**Category:** Server operators\
**Created:** [August 4, 2018, 6:23am UTC](https://community.ntppool.org/t/metrics-on-status-ntppool-org-are-back/867 "2018-08-04T06:23:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ask](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/ask/32/907_2.png) [@ask](https://community.ntppool.org/u/ask)\
**Post date:** [August 4, 2018, 6:23am UTC](https://community.ntppool.org/t/metrics-on-status-ntppool-org-are-back/867/1 "2018-08-04T06:23:58Z")

</div>

The metrics on [https://status.ntppool.org/](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.

---

<div class="post-metadata">

**Author:** ![alica](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/alica/32/337_2.png) [@alica](https://community.ntppool.org/u/alica)\
**Post date:** [August 4, 2018, 9:12am UTC](https://community.ntppool.org/t/metrics-on-status-ntppool-org-are-back/867/2 "2018-08-04T09:12:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![littlejason99](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/littlejason99/32/242_2.png) [@littlejason99](https://community.ntppool.org/u/littlejason99)\
**Post date:** [August 4, 2018, 10:53pm UTC](https://community.ntppool.org/t/metrics-on-status-ntppool-org-are-back/867/3 "2018-08-04T22:53:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ask](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/ask/32/907_2.png) [@ask](https://community.ntppool.org/u/ask)\
**Post date:** [August 10, 2018, 5:45am UTC](https://community.ntppool.org/t/metrics-on-status-ntppool-org-are-back/867/4 "2018-08-10T05:45:27Z")

</div>

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](http://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.

---

<div class="post-metadata">

**Author:** ![thomasjsn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/thomasjsn/32/185_2.png) [@thomasjsn](https://community.ntppool.org/u/thomasjsn)\
**Post date:** [August 10, 2018, 5:54am UTC](https://community.ntppool.org/t/metrics-on-status-ntppool-org-are-back/867/5 "2018-08-10T05:54:01Z")

</div>

You could feed the data from Prometheus into something like [Munin](http://munin-monitoring.org/), which will make graph image files using [RRDtool](https://oss.oetiker.ch/rrdtool/). These images can be hosted anywhere will little effort.

---

<div class="post-metadata">

**Author:** ![mengzhuo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/mengzhuo/32/1869_2.png) [@mengzhuo](https://community.ntppool.org/u/mengzhuo)\
**Post date:** [August 10, 2018, 2:17pm UTC](https://community.ntppool.org/t/metrics-on-status-ntppool-org-are-back/867/6 "2018-08-10T14:17:33Z")

</div>

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

Here is my request status  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex016/uploads/ntppool/original/1X/65977c3f30a49bcd77712d406f5ca2bf039a7a0e.png)

---

<div class="post-metadata">

**Author:** ![publicarray](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/publicarray/32/140_2.png) [@publicarray](https://community.ntppool.org/u/publicarray)\
**Post date:** [August 11, 2018, 10:42pm UTC](https://community.ntppool.org/t/metrics-on-status-ntppool-org-are-back/867/7 "2018-08-11T22:42:32Z")

</div>

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.

```auto
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:

```auto
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

```
