forked from phoenix/litellm-mirror
docs add info on forward_traceparent_to_llm_provider
This commit is contained in:
parent
70c836623d
commit
b8fa4a48d9
1 changed files with 18 additions and 0 deletions
|
@ -714,6 +714,24 @@ Search for Trace=`80e1afed08e019fc1110464cfa66635c` on your OTEL Collector
|
|||
|
||||
<Image img={require('../../img/otel_parent.png')} />
|
||||
|
||||
### Forwarding `Traceparent HTTP Header` to LLM APIs
|
||||
|
||||
Use this if you want to forward the traceparent headers to your self hosted LLMs like vLLM
|
||||
|
||||
Set `forward_traceparent_to_llm_provider: True` in your `config.yaml`. This will forward the `traceparent` header to your LLM API
|
||||
|
||||
:::warning
|
||||
|
||||
Only use this for self hosted LLMs, this can cause Bedrock, VertexAI calls to fail
|
||||
|
||||
:::
|
||||
|
||||
```yaml
|
||||
litellm_settings:
|
||||
forward_traceparent_to_llm_provider: True
|
||||
|
||||
```
|
||||
|
||||
## Custom Callback Class [Async]
|
||||
|
||||
Use this when you want to run custom callbacks in `python`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue