(docs) proxy: OTEL

This commit is contained in:
ishaan-jaff 2023-12-02 11:56:02 -08:00
parent b9e1c66ebe
commit da78fd617c
2 changed files with 1 additions and 2 deletions

View file

@ -1050,7 +1050,7 @@ docker run -p 4317:4317 \
#### Pip install opentelemetry #### Pip install opentelemetry
```shell ```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` #### Set (OpenTelemetry) `otel=True` on the proxy `config.yaml`

View file

@ -323,7 +323,6 @@ def prisma_setup(database_url: Optional[str]):
def celery_setup(use_queue: bool): def celery_setup(use_queue: bool):
global celery_fn, celery_app_conn, async_result global celery_fn, celery_app_conn, async_result
print(f"value of use_queue: {use_queue}")
if use_queue: if use_queue:
from litellm.proxy.queue.celery_worker import start_worker from litellm.proxy.queue.celery_worker import start_worker
from litellm.proxy.queue.celery_app import celery_app, process_job from litellm.proxy.queue.celery_app import celery_app, process_job