- Documentation
- Learning Hub
- Section 3 of 3 Send logs
OpenTelemetry Protocol for logs
Slide 1 of 4
OTLP for logs
OpenTelemetry Protocol (OTLP) is the standard way to send logs when you’re using OpenTelemetry, through its OTLP endpoint, which routes structured logs into Grafana Cloud Logs. Teams already using the OpenTelemetry Collector or SDKs use it for a unified pipeline across logs, metrics, and traces.
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.
Considerations
- One protocol for logs, metrics, and traces, for a unified telemetry pipeline.
- Structured logs keep their attributes when stored in Grafana Cloud Logs.
- Requires an OTLP-compatible source (an OpenTelemetry Collector or SDK).
- Takes more setup than the HTTP API.