← Back to microservices patterns mapmetrics
📊
Microservices Pattern
Metrics & Monitoring
Emit numeric service and resource measurements for dashboards and alerts.
Detailed Description
Metrics show trends and health over time. They are ideal for alerts and capacity questions.
Choose labels carefully because unbounded cardinality can overwhelm metrics storage.
Visual Diagram
RED: rate/errors/duration USE: utilization/saturation/errors Dashboards + alerts
Tradeoffs
Pros
Alerting, capacity planning, SLA/SLO tracking
Cons
High cardinality can become expensive
Examples: Prometheus + Grafana, Datadog, New Relic