diff --git a/docs/my-website/.gitignore b/docs/my-website/.gitignore index b2d6de306..4d8604572 100644 --- a/docs/my-website/.gitignore +++ b/docs/my-website/.gitignore @@ -18,3 +18,4 @@ npm-debug.log* yarn-debug.log* yarn-error.log* +yarn.lock diff --git a/docs/my-website/docs/observability/opentelemetry_integration.md b/docs/my-website/docs/observability/opentelemetry_integration.md index ba5ef2ff8..218064b3d 100644 --- a/docs/my-website/docs/observability/opentelemetry_integration.md +++ b/docs/my-website/docs/observability/opentelemetry_integration.md @@ -49,9 +49,19 @@ OTEL_ENDPOINT="http://0.0.0.0:4317" + + +```shell +OTEL_EXPORTER="otlp_grpc" +OTEL_ENDPOINT="https://api.lmnr.ai:8443" +OTEL_HEADERS="authorization=Bearer " +``` + + + -Use just 2 lines of code, to instantly log your LLM responses **across all providers** with OpenTelemetry: +Use just 1 line of code, to instantly log your LLM responses **across all providers** with OpenTelemetry: ```python litellm.callbacks = ["otel"]