Log JSON in Kubernetes

If you set LOG_JSON=true, we'll output JSON from the tracing subscriber instead of pretty-printing trace output.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Nathan Sobo 2022-05-17 09:11:43 -06:00
parent ad94b4cc73
commit fb246ac343
4 changed files with 35 additions and 6 deletions

View file

@ -83,6 +83,8 @@ spec:
key: token
- name: RUST_LOG
value: ${RUST_LOG}
- name: LOG_JSON
value: "true"
- name: HONEYCOMB_DATASET
value: "collab"
- name: HONEYCOMB_API_KEY