RousselTMLEARNING

Observability

Alloy and the Grafana Labs ecosystem: which component for which tool?

The map of Alloy integrations with Faro, Beyla, k6, Loki, Mimir, Tempo, Pyroscope, Database Observability, Fleet Management and Kubernetes Monitoring.

1. Alloy, the common entry point #

Why go through Alloy.

Alloy’s role #

Available in: ✓ OSS ✓ Enterprise ✓ Cloud

Previous chapters showed how Alloy sends logs, metrics, traces and profiles to Loki, Mimir, Tempo and Pyroscope. But Alloy can also produce or receive data from other Grafana Labs tools: Faro RUM, Beyla eBPF instrumentation, database telemetry, k6 results. One agent to deploy, secure and monitor.

Alloy receives data from sources and routes it to the LGTM stack

2. The integration map #

One component per tool.

Which component for which tool #

Grafana Labs toolRoleAlloy componentCourse
LokiLogsloki.writeLoki
MimirMetricsprometheus.remote_writeMimir
TempoTracesotelcol.exporter.otlpTempo
PyroscopeProfilespyroscope.write, pyroscope.ebpfPyroscope
FaroFront-end RUMfaro.receiverFaro
BeylaZero-code eBPF instrumentationbeyla.ebpfeBPF
Database ObservabilityMySQL and PostgreSQL queries, plans, locksdatabase_observability.mysql, .postgres—
k6Load testsotelcol.receiver.otlpk6
Fleet ManagementRemote configurationremotecfg—
Kubernetes MonitoringTurnkey Helm chartk8s-monitoring (deploys several Alloys)Kubernetes

All these components are generally-available in Alloy v1.21.3: no --stability.level flag is needed.

These integrations fall into three families, which call for different precautions:

Receivers, producers and remote management

What’s new #

  • OpenTelemetry engine (alloy otel, public preview): runs a standard OpenTelemetry Collector YAML configuration inside Alloy, without translating it.
  • OpAMP supervisor (alloy otel-supervisor): lets Fleet Management drive that engine remotely.
  • Offline validation: alloy validate config.alloy checks syntax and references before deployment.

Useful commands #

alloy validate config.alloy          # syntax, references, stability
alloy fmt -w config.alloy            # canonical formatting
alloy run --stability.level=public-preview config.alloy
alloy otel --config otelcol.yaml     # OpenTelemetry engine

Related articles

Faro and Alloy: receiving front-end RUM with faro.receiver

Configure faro.receiver: CORS, API key, rate limiting, source maps, then send browser errors, Web Vitals and …

Beyla and Alloy: zero-code RED metrics and traces with beyla.ebpf

Enable Beyla eBPF instrumentation in Alloy: service discovery, RED metrics to Mimir, traces to Tempo, require…

Database Observability: tracking MySQL and PostgreSQL queries and plans with Alloy

Alloy's database_observability.mysql and .postgres components: collectors, execution plans, locks, sending to…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!