Grafana Cloud
Last reviewed: November 17, 2026

Metrics scenarios

The metrics scenarios collect metrics and forward them to a Prometheus-compatible backend.

ScenarioDescription
Blackbox probingMonitor endpoint availability and response times with synthetic HTTP probes.
Datadog receiver migrationIngest Datadog Agent metrics and traces with otelcol.receiver.datadog and forward them to Prometheus and Tempo.
DNS service discoveryDiscover and scrape two Prometheus targets from DNS SRV records with discovery.dns.
Prometheus Operator ProbesScrape Prometheus Operator Probe resources with Alloy as the blackbox prober (/probe path).
Metric cardinality controlCompare original Prometheus metrics with a cardinality-controlled prometheus.relabel path that drops noisy series and volatile labels and normalizes dynamic routes.
OpenTelemetry SDK metrics across languagesInstrument five languages with the OpenTelemetry metrics SDK and push them through Alloy to Prometheus.
Prometheus client metrics across languagesExpose /metrics with native Prometheus client libraries in five languages and scrape them with Alloy. The pull-model counterpart to the OpenTelemetry SDK scenario.
Prometheus PushgatewayScrape metrics retained for short-lived batch jobs by Prometheus Pushgateway and remote-write them through Alloy.
OTel metrics pipelineForward OpenTelemetry metrics from applications through Alloy. Alloy batches and transforms samples before it sends them to Prometheus.
StatsD metricsReceive legacy StatsD counter, gauge, and timer packets in Alloy and remote-write mapped Prometheus metrics.

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