mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 21:20:08 -03:30
Centralized logging via otel
This commit is contained in:
committed by
Chris Meyers
parent
d0fe0ed796
commit
0eb465531c
39
tools/otel/otel-collector-config.yaml
Normal file
39
tools/otel/otel-collector-config.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
receivers:
|
||||
otlp:
|
||||
protocols:
|
||||
grpc:
|
||||
|
||||
exporters:
|
||||
debug:
|
||||
verbosity: detailed
|
||||
|
||||
loki:
|
||||
endpoint: http://loki:3100/loki/api/v1/push
|
||||
tls:
|
||||
insecure: true
|
||||
headers:
|
||||
"X-Scope-OrgID": "1"
|
||||
default_labels_enabled:
|
||||
exporter: true
|
||||
job: true
|
||||
instance: true
|
||||
level: true
|
||||
|
||||
processors:
|
||||
batch:
|
||||
|
||||
extensions:
|
||||
health_check:
|
||||
zpages:
|
||||
endpoint: ":55679"
|
||||
|
||||
service:
|
||||
pipelines:
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [batch]
|
||||
exporters: [loki]
|
||||
|
||||
extensions:
|
||||
- health_check
|
||||
- zpages
|
||||
Reference in New Issue
Block a user