CRE-2025-0060
Datadog OpenMetrics Scrape Returns 404LowImpact: 5/10Mitigation: 2/10
CRE-2025-0060View on GitHub
Description
- The Datadog Agent is unable to scrape metrics from an OpenMetrics endpoint, returning a 404 Not Found error.\n- This typically indicates that the target service is either not exposing the `/metrics` path, the port or path is misconfigured, or the service is not running.\n
Mitigation
- Confirm the target service is healthy and exposing the `/metrics` endpoint.\n- Use `curl` or `kubectl port‑forward` to validate the endpoint from within the cluster.\n- Ensure the Datadog `openmetrics` check configuration uses the correct port and path.\n- Review service discovery and label selectors in your check configuration.\n