Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/send-data/alloy/scenarios/opentelemetry-engine.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/send-data/alloy/scenarios/opentelemetry-engine/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Alloy OpenTelemetry Engine scenarios
Public preview: OTel Engine is a public preview feature. Public preview features are subject to breaking changes, and may be replaced with equivalent functionality that covers the same use case.
To maintain full compatibility of the OTel Engine with the upstream OpenTelemetry Collector and expose a compatible command line interface, the OTel Engine isn’t hidden behind a stability flag.
The OTel Engine scenarios run OpenTelemetry Collector YAML configurations without converting them to Alloy configuration syntax.
| Scenario | Description |
|---|---|
| Cost control | Drop health checks, filter debug logs, and apply probabilistic sampling to cut telemetry volume. |
| Count connector | Derive request rate and error rate metrics from traces and logs with the count connector. |
| File log processing | Collect and parse mixed-format log files with the OTel filelog receiver and operator chains. |
| Host metrics | Collect CPU, memory, disk, and network metrics with the hostmetrics receiver. |
| Kafka buffer | Buffer traces through Kafka for durability and backpressure control. |
| Multi-pipeline fan-out | Send traces to two backends. Each destination runs its own process path. |
| Multi-tenant routing | Route logs to different Loki tenants based on resource attributes with fan-out and filter. |
| OTTL transform cookbook | A cookbook of OpenTelemetry Transformation Language patterns for JSON parsing, severity mapping, attribute promotion, and truncation. |
| PII redaction | Scrub personally identifiable information, credit cards, emails, and IP addresses from traces and logs with OpenTelemetry Transformation Language replace_pattern. |
| Resource enrichment | Attach host, OS, and Docker metadata to all signals with resourcedetection. |
Refer to the alloy-scenarios repository for the full list of scenarios.
Was this page helpful?
Related resources from Grafana Labs


