How to specify the data type like promethus

28 views
Skip to first unread message

Nathan

unread,
Apr 1, 2020, 9:20:17 AM4/1/20
to M3
Hi, there:
If I use this API to write the metrics to m3db and then use prometheus to read the metrics remotely, how do I specify the data type of the metrics, such as Counter in prometheus?


Thanks for your reply!

sayf eddine Hammemi

unread,
Apr 1, 2020, 9:51:54 AM4/1/20
to Nathan, M3
datapoints are lower level than Prometheus types. it is the way of storing multiple data points that makes its type.
like increasing values --> Counter
increasing/decreasing --> Gauge
buckets mentioned in tags + count + total --> histogram etc

--
You received this message because you are subscribed to the Google Groups "M3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to m3db+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/m3db/3ffea690-70c2-4d32-9153-5ea575cd937f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages