prometheus / docs

Prometheus documentation: content and static site generator
https://prometheus.io
Apache License 2.0
659 stars 1.01k forks source link

Exposition format: Define base units? #553

Open RichiH opened 8 years ago

RichiH commented 8 years ago

I am currently talking with @dieterbe about how/if Metrics 2.0 could be aligned with this effort and the topic of terminology and base units came up. Should we define base units and common names, like _total for counters? I think yes. It might or might not make sense to create a second ID for this, but defining it sounds worthwhile.

brian-brazil commented 8 years ago

Standard suffixes yes, I'm not sure about base units belonging in the exposition format though.

RichiH commented 8 years ago

The standard solution to that is the use of SHOULD. It gives a common path to follow which people can happily ignore if they think it's worth it.