This is documentation for the next version of Grafana Tempo documentation. For the latest stable release, go to the latest version.
Set up your collector
You can send data from your application using Grafana Alloy or OpenTelemetry Collector (OTel) collectors.
Grafana Alloy is a vendor-neutral distribution of the OpenTelemetry (OTel) Collector. Alloy uniquely combines the very best OSS observability signals in the community.
The OpenTelemetry Collector is a vendor-agnostic way to receive, process, and export telemetry data.
The collector is a component that runs alongside your application and periodically gathers tracing data from it. This method is suitable when you want to collect tracing from applications without modifying their source code.
Here’s how it works:
- Install and configure the collector on the same machine or container where your application is running.
- The collector periodically retrieves your application’s performance tracing data, regardless of the language or technology stack your application is using.
- The captured traces are then sent to the Tempo server for storage and analysis.
Using a collector provides a hassle-free option, especially when dealing with multiple applications or microservices, allowing you to centralize the tracing process without changing your application’s codebase.
Use Alloy
Grafana Labs maintains and supports Alloy, which packages various upstream OpenTelemetry Collector components. Alloy provides stability, support, and integration with Grafana Labs products.
Refer to the Alloy documentation for information about Alloy and it’s tracing capabilities.
Refer to Collect and forward data with Alloy for examples of collecting data.
Use the OpenTelemetry Collector
The OpenTelemetry project maintainers and the Cloud Native Computing Foundation maintain the upstream OpenTelemetry Collector. This is a community-supported project.
Refer to the Install the Collector documentation for instructions on installation.
Refer to the OpenTelemetry Collector documentation to use the upstream OpenTelemetry Collector with Grafana Labs products.