Interview Prep/Monitoring & Observability/Grafana dashboards and data sources

Data source test returns `Post "http://prometheus:9090/api/v1/query": dial tcp: lookup prometheus on 10.96.0.10:53: no such host`

BeginnerTroubleshootingGrafana dashboards and data sources
Answer

Likely causes → The short Service name only resolves in the same namespace; Grafana runs in another namespace.

Diagnose → kubectl exec deploy/grafana -- nslookup prometheus.monitoring.svc.cluster.local.

Fix → Use the FQDN http://prometheus.monitoring.svc.cluster.local:9090.

Prevent → Always use FQDNs in provisioned data sources.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana dashboards and data sources