Update config.alloy file to add prometheus metrics export

This commit is contained in:
thedarty committed 2026-11-01 16:16:59 +01:00
1 parent 8b41796725
commit 366ff01462
1 file changed
+9
+9
View File
@@ -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]
}