Prometheus is an open-source monitoring and alerting toolkit that is popular in the Kubernetes community. Prometheus scrapes metrics from a number of HTTP(s) endpoints that expose metrics in the OpenMetrics format.
Dynatrace provides you with a framework to easily ingest data provided by Prometheus into Dynatrace at scale and in the context to all other data.
First look into our Software intelligence hub and find out if your technology is already covered by an existing extension.
If there's no extension covering your needs, Dynatrace currently provides three approaches to acquiring Prometheus data, depending on the environment.
- Prometheus in Kubernetes
- Prometheus outside of Kubernetes
- Amazon Managed Service for Prometheus
Dynatrace integrates gauge and counter metrics from Prometheus exporters and servers. These metrics are then available for charting, alerting, and analysis within Dynatrace. See the list of available Prometheus exporters in the Prometheus documentation or in the list maintained by the community.
Prometheus in Kubernetes
In Kubernetes, Dynatrace supports scraping of any HTTP(s) endpoint offering metrics in OpenMetrics format (for example, Prometheus exporters). Using Dynatrace-specific annotations, you can specify which pods or services to scrape.
- Learn how to acquire Prometheus metrics in Kubernetes
Prometheus outside of Kubernetes
Outside of Kubernetes, Dynatrace provides a scalable means to ingest Prometheus metrics directly from the source. This works fully automatically and works best if OneAgent is installed on the box where the Prometheus metrics originate, but it can also be done in a fully agentless manner when OneAgent can't be installed on the box.
- Learn how to acquire Prometheus metrics outside of Kubernetes using Extensions 2.0 Prometheus data source.
Amazon Managed Service for Prometheus
Amazon provides a managed service for Prometheus, and Dynatrace provides the means to aquire data directly from it. Typically, it would be more cost effective to use one of the two other methods descibed above, as it avoids the additional cost of the Amazon service, but it is available as needed.
- Learn how to acquire Prometheus metrics from Amazon Managed Service for Prometheus