41 lines
767 B
Plaintext
41 lines
767 B
Plaintext
logging {
|
|
level = "info"
|
|
}
|
|
otelcol.receiver.otlp "default" {
|
|
grpc {
|
|
endpoint = "0.0.0.0:4317"
|
|
}
|
|
http {
|
|
endpoint = "0.0.0.0:4318"
|
|
}
|
|
output {
|
|
traces = [otelcol.exporter.otlp.tempo.input]
|
|
metrics = [otelcol.exporter.prometheus.default.input]
|
|
}
|
|
}
|
|
otelcol.exporter.otlp "tempo" {
|
|
client {
|
|
endpoint = "tempo:4317"
|
|
tls {
|
|
insecure = true
|
|
}
|
|
}
|
|
}
|
|
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]
|
|
}
|
|
prometheus.remote_write "default" {
|
|
endpoint {
|
|
url = "http://pdocker3.maison:19090/api/v1/write"
|
|
}
|
|
} |