OpenMetrics is used for collecting metrics using the CNCF-backed OpenMetrics format. This version is the default version for all new OpenMetric-checks, and it is compatible with Python 3 only.
::: datadog_checks.base.checks.openmetrics.v2.base.OpenMetricsBaseCheckV2 options: heading_level: 3 members: - init - check - configure_scrapers - create_scraper
::: datadog_checks.base.checks.openmetrics.v2.scraper.OpenMetricsScraper options: heading_level: 3 members: - init - scrape - consume_metrics - parse_metrics - generate_sample_data - stream_connection_lines - filter_connection_lines - get_connection - send_requests - set_dynamic_tags - submit_health_check
::: datadog_checks.base.checks.openmetrics.v2.transform.Transformers options: heading_level: 3
For complete documentation on every option, see the associated templates for the [instance][config-spec-template-instances-openmetrics] and [init_config][config-spec-template-init-config-openmetrics] sections.
This OpenMetrics implementation is the updated version of the original Prometheus/OpenMetrics implementation. The docs for the deprecated implementation are still available as a reference.