fly.io doesn't expose metric type

Fly.io uses VictoriaMetrics,

Our metrics stack — which is built around Prometheus-style metrics — features the following cast of characters:

Victoria Metrics (“Vicky”, for the rest of this post), in a clustered configuration, is our metrics database. We run a cluster of fairly big Vicky hosts.

And it looks like it doesn’t expose type when exporting metric, and hence all datatype of metrics come out as gauge :

Why does the federate endpoint return all metrics as untyped?
Sadly, Prometheus doesn't really persist the metric type. It does some
caching of this kind of metadata (availably via a separate API, see
https://prometheus.io/docs/prometheus/latest/querying/api/#querying-target-metadata
), but that's only for the most recent scrapes and separate from the
TSDB.

Federation data is served from the TSDB, and at that point, Prometheus
is completely ignorant of the original type and has to mark everything
as "untyped".

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.