O'Reilly logo
  • AKIHITO INOH thinks this is interesting:

One hint that an instrumentation label is not useful is if any time you use the metric you need to specify that label in PromQL. In such a case you should probably move the label to be in the metric name instead.

Another thing to avoid is having a time series which is a total of the rest of the metric such as

From

Cover of Prometheus: Up & Running

Note

ラベルとして避けるべきパターンの考え方を2つ。