2. Trace IDs. We need to decorate two things with ...
# ask-for-help
e
2. Trace IDs. We need to decorate two things with trace/span information: a. The log statements, currently
bentoml
decorates their logs with that info. But can we auto-instrument our own logs to do the same? Would we need to add the
opentelemetry instrument -- ...
BentoML docker entrypoint to do this? b. HTTP responses should contain an auto-generated trace ID, especially if they fail with a 5xx response code. This thread gets us there for case where the request has a 2xx response code.