Page cover

Troubleshooting

No Container Metrics

  • Check that the app exposes metrics on the specified port and path

  • Verify pod annotations are present and correct:

Metrics not appearing in queries

  • Verify metric names and labels in Prometheus UI

  • Check if metrics endpoint is accessible:

kubectl port-forward -n <namespace> pod/<pod_name> 8080:8080 curl http://localhost:8080/metrics

High Cardinality Issues

  • Limit label values to avoid metric explosion

  • Use recording rules for frequently queried complex metrics

Last updated