mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-07-04 15:46:16 +00:00
26 lines
No EOL
495 B
Text
26 lines
No EOL
495 B
Text
// Receive OTLP traces from Caddy
|
|
otelcol.receiver.otlp "otlp_receiver" {
|
|
grpc {
|
|
endpoint = "0.0.0.0:4317"
|
|
}
|
|
|
|
http {
|
|
endpoint = "0.0.0.0:4318"
|
|
}
|
|
|
|
output {
|
|
traces = [otelcol.exporter.otlp.tempo_exporter.input]
|
|
}
|
|
}
|
|
|
|
otelcol.exporter.otlp "tempo_exporter" {
|
|
client {
|
|
endpoint = "tempo-prod-25-prod-gb-south-1.grafana.net:443"
|
|
auth = otelcol.auth.basic.gcloud_auth.handler
|
|
}
|
|
}
|
|
|
|
otelcol.auth.basic "gcloud_auth" {
|
|
username = "1573173"
|
|
password = sys.env("GCLOUD_RW_API_KEY")
|
|
} |