mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Add recording
* Always output awx logs to a file via otel * That log file can always be later replayed into a product that supports otlp at a later date. * Useful when you find a problem that you need a time series DB to help find and solve. * Useful if a community member or customer has a problem where a time series db would be helpful. You can take a "remote" users log and replay it locally for analysis.
This commit is contained in:
committed by
Chris Meyers
parent
da46a29f40
commit
cae42653bf
@@ -283,8 +283,7 @@ services:
|
||||
- "55679:55679" # zpages http://localhost:55679/debug/servicez /tracez
|
||||
volumes:
|
||||
- "../../otel/otel-collector-config.yaml:/etc/otel-collector-config.yaml"
|
||||
depends_on:
|
||||
- loki
|
||||
- "../../otel/awx-logs:/awx-logs/"
|
||||
{% endif %}
|
||||
{% if enable_loki|bool %}
|
||||
loki:
|
||||
@@ -298,11 +297,7 @@ services:
|
||||
- awx
|
||||
volumes:
|
||||
- "loki_storage:/loki:rw"
|
||||
#- "../../docker-compose/loki/volumes/index:/loki/index"
|
||||
#- "../../docker-compose/loki/volumes/boltdb-cache:/loki/boltdb-cache"
|
||||
- "../../loki/local-config.yaml:/etc/loki/local-config.yaml"
|
||||
depends_on:
|
||||
- grafana
|
||||
{% endif %}
|
||||
|
||||
{% if execution_node_count|int > 0 %}
|
||||
|
||||
Reference in New Issue
Block a user