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
This commit is contained in:
James E. Blair 2022-09-28 14:22:58 -07:00
parent 8492420407
commit bb0dd71c59

View File

@ -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 }}"