Does prometheus golang (echo-contrib) exporter saves metrics in memory?

Viewed 89
1 Answers

Yes, the last state of the metrics are stored in memory of the scraped target. Most of the implementation of prometheus metrics are built with this library in go programs: https://github.com/prometheus/client_golang

Your scraped target won't hold the whole time serie, it's prometheus role to store these values across time.

Related