mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
(docs) proxy: OTEL
This commit is contained in:
parent
b9e1c66ebe
commit
da78fd617c
2 changed files with 1 additions and 2 deletions
|
|
@ -1050,7 +1050,7 @@ docker run -p 4317:4317 \
|
|||
|
||||
#### Pip install opentelemetry
|
||||
```shell
|
||||
pip install opentelemetry-api opentelemetry-sdk opentelemetry-exporter-otlp opentelemetry-sdk-resources
|
||||
pip install opentelemetry-api opentelemetry-sdk opentelemetry-exporter-otlp -U
|
||||
```
|
||||
|
||||
#### Set (OpenTelemetry) `otel=True` on the proxy `config.yaml`
|
||||
|
|
|
|||
|
|
@ -323,7 +323,6 @@ def prisma_setup(database_url: Optional[str]):
|
|||
|
||||
def celery_setup(use_queue: bool):
|
||||
global celery_fn, celery_app_conn, async_result
|
||||
print(f"value of use_queue: {use_queue}")
|
||||
if use_queue:
|
||||
from litellm.proxy.queue.celery_worker import start_worker
|
||||
from litellm.proxy.queue.celery_app import celery_app, process_job
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue