Extract custom metrics from any OpenMetrics endpoints.
Follow the instructions below to install and configure this check for an Agent running on a host. For containerized environments, see the Autodiscovery Integration Templates for guidance on applying these instructions.
The OpenMetrics check is packaged with the Datadog Agent starting version 6.6.0.
For each instance the following parameters are required:
|The URL where your application metrics are exposed by Prometheus (must be unique).|
|The namespace to prepend to all metrics.|
|A list of metrics to retrieve as custom metrics. Add each metric to the list as |
For more configurations, see Prometheus and OpenMetrics Metrics Collection.
Run the Agent’s status subcommand and look for
openmetrics under the Checks section.
All metrics collected by the OpenMetrics check are forwarded to Datadog as custom metrics.
The OpenMetrics check does not include any events.
The OpenMetrics check does not include any service checks.
Need help? Contact Datadog support.
Mistake in the docs? Feel free to contribute!