Update config.alloy file to add prometheus metrics export
This commit is contained in:
1 parent
8b41796725
commit
366ff01462
1 file changed
+9
@@ -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]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user