client_rust
client_rust copied to clipboard
src/metrics: Support custom ad-hoc metrics
Some metrics need to be created ad-hoc on scrape, e.g. a counter retrieved from another system.
Already doable today by implementing EncodeMetric. The provided Encoder guides users in a type safe way.