From 366ff014621c09407e771e8f893257e79ed00b93 Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Sun, 1 Nov 2026 16:16:59 +0100 Subject: [PATCH] Update config.alloy file to add prometheus metrics export --- alloy/config.alloy | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/alloy/config.alloy b/alloy/config.alloy index 009ae14..72fa713 100644 --- a/alloy/config.alloy +++ b/alloy/config.alloy @@ -21,6 +21,15 @@ otelcol.exporter.otlp "tempo" { } } } +prometheus.scrape "tempo" { + targets = [ + { + __address__ = "tempo:3200" + } + ] + forward_to = [prometheus.remote_write.default.receiver] +} + otelcol.exporter.prometheus "default" { forward_to = [prometheus.remote_write.default.receiver] }