Dynatrace provides you with a framework that you can use to extend your application and services observability into data acquired directly from Prometheus. The Dynatrace extensions framework can pull Prometheus metrics from the /metrics
endpoint, a Prometheus API endpoint, or a data exporter (Prometheus target).
Note that Dynatrace provides out-of-the-box support for ingesting metrics from Prometheus exporters in Kubernetes.
You can run Prometheus extensions right on the Prometheus host where you installed OneAgent, so your metrics are automatically enriched with host-specific dimensions. If, however, you can't install OneAgent on the Prometheus host, you can run extensions remotely and execute them on an ActiveGate group of your choice.
We assume the following:
Be sure to review all prerequisites and limits.
For limits applying to your extension, see Extensions 2.0 limits and the following Prometheus-specific limits:
metrics
definitionsNote that a large number of dimensions can exceed the limits and impact your Dynatrace environment performance beyond its capacity. Consider that:
See Prometheus data source reference to learn about the structure of the Prometheus extension YAML file and monitoring configuration format.