54 lines
963 B
Plaintext
54 lines
963 B
Plaintext
loki.write "default" {
|
|
endpoint {
|
|
url = "http://loki:3100/loki/api/v1/push"
|
|
}
|
|
external_labels = {}
|
|
}
|
|
|
|
logging {
|
|
level = "debug"
|
|
format = "json"
|
|
write_to = [loki.write.default.receiver]
|
|
}
|
|
|
|
tracing {
|
|
sampling_fraction = 1
|
|
write_to = [otelcol.exporter.otlp.tempo.input]
|
|
}
|
|
|
|
otelcol.exporter.otlp "tempo" {
|
|
client {
|
|
endpoint = "tempo:4317"
|
|
tls {
|
|
insecure = true
|
|
insecure_skip_verify = true
|
|
}
|
|
}
|
|
}
|
|
|
|
faro.receiver "frontend" {
|
|
server {
|
|
listen_address = "0.0.0.0"
|
|
listen_port = 12347
|
|
cors_allowed_origins = ["*"]
|
|
}
|
|
|
|
output {
|
|
logs = [loki.write.default.receiver]
|
|
traces = [otelcol.exporter.otlp.tempo.input]
|
|
}
|
|
}
|
|
|
|
pyroscope.write "default" {
|
|
endpoint {
|
|
url = "http://pyroscope:4040"
|
|
}
|
|
}
|
|
|
|
pyroscope.scrape "default" {
|
|
targets = [
|
|
{"__address__" = "host.docker.internal:6060", "service_name"="grafana"},
|
|
]
|
|
forward_to = [pyroscope.write.default.receiver]
|
|
}
|