Grafana Cloud
Last reviewed: November 17, 2026

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.

ScenarioDescription
Cost controlDrop health checks, filter debug logs, and apply probabilistic sampling to cut telemetry volume.
Count connectorDerive request rate and error rate metrics from traces and logs with the count connector.
File log processingCollect and parse mixed-format log files with the OTel filelog receiver and operator chains.
Host metricsCollect CPU, memory, disk, and network metrics with the hostmetrics receiver.
Kafka bufferBuffer traces through Kafka for durability and backpressure control.
Multi-pipeline fan-outSend traces to two backends. Each destination runs its own process path.
Multi-tenant routingRoute logs to different Loki tenants based on resource attributes with fan-out and filter.
OTTL transform cookbookA cookbook of OpenTelemetry Transformation Language patterns for JSON parsing, severity mapping, attribute promotion, and truncation.
PII redactionScrub personally identifiable information, credit cards, emails, and IP addresses from traces and logs with OpenTelemetry Transformation Language replace_pattern.
Resource enrichmentAttach host, OS, and Docker metadata to all signals with resourcedetection.

Refer to the alloy-scenarios repository for the full list of scenarios.