From 278ab7dcab523b1bc841e6590268d4a955068aa1 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Fri, 1 Dec 2023 21:46:37 -0800 Subject: [PATCH] (docs) otel collector --- docs/my-website/docs/simple_proxy.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/my-website/docs/simple_proxy.md b/docs/my-website/docs/simple_proxy.md index e188ff65acd..d671e1b4acf 100644 --- a/docs/my-website/docs/simple_proxy.md +++ b/docs/my-website/docs/simple_proxy.md @@ -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