robn/Prometheus-Tiny

Consider setting metrics to 0 at declaration time

robn opened this issue · 0 comments

robn commented

https://prometheus.io/docs/practices/instrumentation/#avoid-missing-metrics

The difficulty is that we don't want to predeclare labels as well because that's such an awful interface. We could just set the "base" metric, except that might not ever appear in the wild.

Research required.