oneuptime/OTelCollector/config.yaml
2023-11-12 15:12:49 +00:00

44 lines
804 B
YAML

extensions:
headers_setter:
headers:
- action: upsert
key: x-oneuptime-service-token
from_context: x-oneuptime-service-token
processors:
receivers:
otlp:
protocols:
grpc:
include_metadata: true
http:
include_metadata: true
exporters:
otlphttp:
endpoint: "http://ingestor:3400/otel"
headers: {"Content-Type": "application/json"}
auth:
authenticator: headers_setter
service:
telemetry:
logs:
level: "debug"
extensions: [ headers_setter ]
pipelines:
traces:
receivers: [otlp]
processors: []
exporters: [otlphttp]
metrics:
receivers: [otlp]
processors: []
exporters: [otlphttp]
logs:
receivers: [otlp]
processors: []
exporters: [otlphttp]