mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
44 lines
849 B
YAML
44 lines
849 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://${env:SERVER_INGESTOR_HOSTNAME}:${env:INGESTOR_PORT}/otlp"
|
|
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] |