diff options
author | Chris Meyers <chris.meyers.fsu@gmail.com> | 2024-05-13 17:16:17 +0200 |
---|---|---|
committer | Chris Meyers <chrismeyersfsu@users.noreply.github.com> | 2024-05-31 19:55:17 +0200 |
commit | 0eb465531ca97aa5b932ec5752b1bdfea3181d9f (patch) | |
tree | 0ba1169b9f2d2520eb866e1c2f9755480ed06f84 /tools/otel/otel-collector-config.yaml | |
parent | Add check_instance_ready management command (#15238) (diff) | |
download | awx-0eb465531ca97aa5b932ec5752b1bdfea3181d9f.tar.xz awx-0eb465531ca97aa5b932ec5752b1bdfea3181d9f.zip |
Centralized logging via otel
Diffstat (limited to '')
-rw-r--r-- | tools/otel/otel-collector-config.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tools/otel/otel-collector-config.yaml b/tools/otel/otel-collector-config.yaml new file mode 100644 index 0000000000..ebbf0606cb --- /dev/null +++ b/tools/otel/otel-collector-config.yaml @@ -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 |