Slide 4 of 5

OpenTelemetry metrics

OpenTelemetry metrics via OTLP

OpenTelemetry is an open source observability framework that provides a standard way to generate, collect, and export telemetry data.

OpenTelemetry Protocol (OTLP) is the native way to send OpenTelemetry metrics to Grafana Cloud through its OTLP endpoint, which routes them into Grafana Cloud Metrics. Teams already using OpenTelemetry SDKs or the OpenTelemetry Collector send their metrics this way.

If you’re setting up a collector for the first time, Grafana Alloy is Grafana’s OpenTelemetry Collector distribution and can export OTLP to Grafana Cloud. This journey covers teams already running a standard OpenTelemetry Collector.

OpenTelemetry metrics flow

Considerations

  • You send OTLP as-is; Grafana Cloud maps it to Prometheus on ingestion, so you don’t convert formats yourself.
  • One protocol for metrics, logs, and traces.
  • Requires an OTLP-compatible source (an OpenTelemetry SDK or Collector).
  • On ingestion, OTLP names are transformed: dots and dashes in metric and label names become underscores, and some resource attributes are stored on the target_info metric.

Documentation

Script

OpenTelemetry is an open source observability framework that provides a standard way to generate, collect, and export telemetry data: metrics, logs, and traces.

If your applications or infrastructure already emit OpenTelemetry metrics, you can send them directly to Grafana Cloud through OTLP, the OpenTelemetry Protocol.

OpenTelemetry is widely adopted, and many frameworks, libraries, and tools support it. If you’re already using OpenTelemetry SDKs in your applications or running the OpenTelemetry Collector, you’re set up for this approach.

If you’re setting up a collector for the first time, Grafana Alloy is Grafana’s OpenTelemetry Collector distribution and can export OTLP to Grafana Cloud. This journey covers teams already running a standard OpenTelemetry Collector.

Grafana Cloud accepts OTLP metrics natively. You configure your OpenTelemetry Collector or SDK to export to the Grafana Cloud OTLP endpoint, and it routes your metrics into Grafana Cloud Metrics. You don’t convert formats yourself: Grafana Cloud maps OTLP metrics to Prometheus on ingestion.

Use this approach if you’re standardizing on OpenTelemetry. It handles metrics, logs, and traces with a single protocol.