What is “wrong” with the myapp_file_uploads_total\{userid="5123",status="failed"\} metric?
myapp_file_uploads_total\{userid="5123",status="failed"\}
A user ID is a high-cardinality, potentially unbounded label value. Because every unique label set creates a separate Prometheus time series, exposing userid as a label can cause excessive series growth. A bounded status label is appropriate, and _total is the conventional suffix for a counter.
userid
status
_total
Community Discussion