We’re trying to build some dashboards around Nomad telemetry data, specifically interested in allocation stats (cpu/memory allocated, etc) and we’ve run into a bit of a muddle.
First of all, documentation states that telemetry has to be explicitly enabled. We haven’t done so, yet telemetry seems to be available via the /v1/metrics API endpoint. We also haven’t specifically enabled prometheus format metrics, which are listed as false by default yet we also have those available via /v1/metrics?format=prometheus.
Finally and most confusingly, /v1/metrics and /v1/metrics?format=prometheus don’t output the same information. Whereas /v1/metrics makes available a load of different gauges related to CPU/memory allocation for example, /v1/metrics?format=prometheus only makes available very basic metric related to the main Nomad go process itself, mostly heap metrics.
How is all of the above possible, can someone confirm whether we’re being particularly daft about something and missing the very obvious?
Nomad version is 0.10.4
Alex E / Altmetric