Skip to main content

CRE-2025-0060

Datadog OpenMetrics Scrape Returns 404Low
Impact: 5/10
Mitigation: 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. - 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.

Mitigation

- Confirm the target service is healthy and exposing the `/metrics` endpoint. - Use `curl` or `kubectl port‑forward` to validate the endpoint from within the cluster. - Ensure the Datadog `openmetrics` check configuration uses the correct port and path. - Review service discovery and label selectors in your check configuration.

References