mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
(docs) otel collector
This commit is contained in:
parent
dd8c1b0458
commit
278ab7dcab
1 changed files with 7 additions and 0 deletions
|
|
@ -1070,6 +1070,13 @@ general_settings:
|
|||
|
||||
```
|
||||
|
||||
#### Set OTEL collector endpoint
|
||||
LiteLLM will read the `OTEL_ENDPOINT` environment variable to send data to your OTEL collector
|
||||
|
||||
```python
|
||||
os.environ['OTEL_ENDPOINT'] # defauls to 127.0.0.1:4317 if not provided
|
||||
```
|
||||
|
||||
#### Start LiteLLM Proxy
|
||||
```shell
|
||||
litellm -config config.yaml
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue