Summary
The user discusses Prometheus metrics in flytepropeller, focusing on metrics with an _unlabeled
suffix emitted at the task plugin level. They reference the EmitUnlabeledMetric()
function from promutils
and seek clarification on the difference between labeled and unlabeled metrics. The user notes that a metric is considered unlabeled if it is absent from the taskMetricsMap
, but they are uncertain about the criteria for a metric name's inclusion in this map. They speculate that the distinction may be to limit metric size for performance reasons, suggesting that labeled metrics allow for multidimensional metrics while unlabeled metrics are single-dimensional. The user expresses confusion about the necessity of having both labeled and unlabeled metrics, as they emit similarly but with unlabeled metrics occurring slightly more frequently. They are inclined to consolidate the two types of metrics on their end.