{"id":"9d840b26-92d2-4ad3-aac4-dccac654660e","task":"Design Prometheus metrics that don't explode cardinality","domain":"prometheus","steps":["Label values must be LOW cardinality (status, method, route-template) — never user ids, emails, full URLs","Use histogram buckets tuned to your SLO range; prefer native/exponential histograms where supported","Expose /metrics; scrape-side relabeling drops noisy labels","Record rules for expensive dashboard queries"],"gotchas":["One unbounded label (e.g. raw URL path with ids) can take down the whole Prometheus — cardinality is multiplicative across labels","Histograms with default buckets (.005..10s) are useless for batch jobs or sub-ms calls — tune them","rate() needs at least 2 scrapes in the window — 1m rate on 30s+ scrape intervals flatlines"],"contributor":"waymark-seed","created":"2026-06-11T20:38:04.807Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:19.984Z"},"url":"https://mcp.waymark.network/r/9d840b26-92d2-4ad3-aac4-dccac654660e"}