Fix jaeger badger config and uid

Apparently "30d" as a ttl value breaks badger, but "720h" is okay.

Also, run the process as the jaeger user.

Change-Id: I00ad6b529aa86b0051343f828e05df8212b34656
changes/29/859729/1
James E. Blair 2 months ago
parent 8492420407
commit bb0dd71c59
  1. 3
      playbooks/roles/jaeger/templates/docker-compose.yaml.j2

@ -12,7 +12,7 @@ services:
- BADGER_EPHEMERAL=false
- BADGER_DIRECTORY_VALUE=/badger/data
- BADGER_DIRECTORY_KEY=/badger/key
- BADGER_SPAN_STORE_TTL=30d
- BADGER_SPAN_STORE_TTL=720h
- COLLECTOR_OTLP_ENABLED=true
- COLLECTOR_OTLP_GRPC_TLS_ENABLED=true
- COLLECTOR_OTLP_GRPC_TLS_CERT=/tls/certs/cert.pem
@ -21,3 +21,4 @@ services:
volumes:
- /var/jaeger/badger:/badger
- /var/jaeger/tls:/tls
user: "{{ jaeger_uid }}:{{ jaeger_gid }}"

Loading…
Cancel
Save