Try it free

Send Micrometer metrics to Dynatrace

  • Latest Dynatrace
  • 2-min read

Micrometer is an open source instrumentation framework for JVM-based application metrics. It's used by Spring Boot to record a wide range of metrics. You can ingest Micrometer and Spring Boot metrics and analyze them with Dynatrace Intelligence end-to-end in the context of your trace, log, and diagnostics data. With Dynatrace, you get intelligent AI-based observability and automatic root cause analysis for Spring Boot, 15+ pre-instrumented JVM-based frameworks and servers, and custom metrics.

You can use Micrometer in Dynatrace to:

  • Ingest pre-instrumented metrics from Spring Boot applications.
  • Ingest pre-instrumented metrics from JVM-based frameworks, servers, and cache systems.
  • Define and ingest custom metrics.

Metrics ingested from Micrometer consume either Metrics powered by Grail (Dynatrace Platform Subscription) or DDUs for custom metrics (Dynatrace classic license).

Registry options

Micrometer uses the concept of a registry to export metrics to a monitoring system. There are two registries you can use to send Micrometer metrics to Dynatrace:

  • OTLP registry (recommended): Exports metrics over the OpenTelemetry Protocol (OTLP). Use this approach to standardize on OpenTelemetry across your applications or align your Micrometer metrics with other OpenTelemetry signals.
  • Dynatrace registry: Exports metrics to the Metrics API v2 using the metric ingestion protocol. Use this approach if your applications don't use OpenTelemetry yet.
OpenTelemetry

OTLP registry (recommended)

Send Micrometer metrics using the OpenTelemetry (OTLP) registry.

Micrometer

Dynatrace registry

Send Micrometer metrics to the Dynatrace Metrics API.