forked from phoenix/litellm-mirror
add doc on redacting otel message / response
This commit is contained in:
parent
7c9591881c
commit
4592d80f43
1 changed files with 14 additions and 0 deletions
|
@ -744,6 +744,20 @@ curl --location 'http://0.0.0.0:4000/chat/completions' \
|
||||||
|
|
||||||
** 🎉 Expect to see this trace logged in your OTEL collector**
|
** 🎉 Expect to see this trace logged in your OTEL collector**
|
||||||
|
|
||||||
|
### Redacting Messages, Response Content from OTEL Logging
|
||||||
|
|
||||||
|
Set `message_logging=False` for `otel`, no messages / response will be logged
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
litellm_settings:
|
||||||
|
callbacks: ["otel"]
|
||||||
|
|
||||||
|
## 👇 Key Change
|
||||||
|
callback_settings:
|
||||||
|
otel:
|
||||||
|
message_logging: False
|
||||||
|
```
|
||||||
|
|
||||||
### Context propagation across Services `Traceparent HTTP Header`
|
### Context propagation across Services `Traceparent HTTP Header`
|
||||||
|
|
||||||
❓ Use this when you want to **pass information about the incoming request in a distributed tracing system**
|
❓ Use this when you want to **pass information about the incoming request in a distributed tracing system**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue