Prometheus is an open-source monitoring toolkit for collecting and alerting on infrastructure and platform metrics. These metrics are exposed by Prometheus in OpenMetrics format. Prometheus exporters provide a standardized monitoring interface for numerous technologies and services.
By adding Dynatrace support to metrics collected from Prometheus exporters, you get intelligent observability and automatic root cause analysis for technologies such as Redis, Kafka, and MongoDB. As well 100+ integrations maintained by the Prometheus community.
This is intended for users who want to:
- Leverage existing Prometheus integrations to extend Dynatraceโs monitoring capabilities.
This enables you to:
- Analyze Kubernetes infrastructure and platform metrics in Dynatrace.
- Analyze metrics from any technology running in Kubernetes pods in Dynatrace.
- Proactively alert on anomalies of Prometheus metrics with Davis AI.
Compatibility Requirements:
Dynatrace integrates Gauge and Counter metrics from Prometheus exporters in Kubernetes environments.
Step-by-step instructions
- Dynatrace collects metrics from any pods that are annotated with a
metrics.dynatrace.com/scrape
property set to true in the pod definition. Depending on the actual exporter in a pod, you might need to set additional annotations to the pod definition to allow Dynatrace to properly ingest those metrics.
- Enable metrics scraping: Set
metrics.dynatrace.com/scrape
to true
to enable Dynatrace to collect Prometheus metrics exposed for this pod.
- Define the metrics port: By default, Prometheus metrics are available at the first exposed TCP port of the pod. Set
metrics.dynatrace.com/port
to the respective port.
Once youโve annotated the Kubernetes pods, the respective metrics will automatically show up in your environment for charting, alerting, and analysis.