The metric user_last_login_timestamp_seconds{email="john.doe@example.com"} isunsuitable for Prometheusbecause it includes ahigh-cardinality label(email). Each unique email address would generate a separate time series, potentially numbering in the millions, which severely impacts Prometheus performance and memory usage.
Prometheus is optimized for low- to medium-cardinality metrics that represent system-wide behavior rather than per-user data. High-cardinality metrics causedata explosion, complicating queries and overwhelming the storage engine.
By contrast, the other metrics—prometheus_engine_query_log_enabled, promhttp_metric_handler_requests_total{code="500"}, and http_response_total{handler="static/*filepath"}—adhere to Prometheus best practices. They represent operational or service-level metrics with limited, manageable label value sets.
[References:Extracted and verified from Prometheus documentation –Metric and Label Naming Best Practices,Cardinality Management, andAnti-Patterns for Metric Designsections., ]
PCA PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 75% Discount on All Products,
Use Coupon: "ac75sure"