Prometheus

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.

To get started, check Dynatrace Hub to see 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
  • Prometheus via OpenTelemetry Collector

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.

Prometheus outside of Kubernetes

Dynatrace provides a scalable means to ingest Prometheus metrics directly from the source, without Kubernetes. 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.

Prometheus via OpenTelemetry Collector

For environments that require greater customization, Dynatrace allows the ingestion of Prometheus metrics using the OpenTelemetry Collector. To get started, see Scrape data from Prometheus.