Should I add high-cardinality labels like user_id to my Prometheus metrics?
Keep unbounded labels like user_id off your metrics, restrict labels to bounded dimensions, and take per-customer breakdowns to exemplars or traces.
Tag
Collecting metrics: counters, histograms and the question a chart actually answers. questions under this tag, answered directly.
2 answered questions carry this tag.
Keep unbounded labels like user_id off your metrics, restrict labels to bounded dimensions, and take per-customer breakdowns to exemplars or traces.
Start with RED on the API, model jobs as requests to run RED on the workers too, then layer USE onto both for queue depth and pool saturation.