From 11b4c456b47fca8d5654a763972c0630aa78262c Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Fri, 23 Jan 2026 19:42:59 +0530 Subject: [PATCH] Add documentation --- docs/my-website/docs/proxy/prometheus.md | 7 ++++++- litellm/integrations/langfuse/langfuse_otel.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/my-website/docs/proxy/prometheus.md b/docs/my-website/docs/proxy/prometheus.md index cd2b3b68f37..e69cfe114cc 100644 --- a/docs/my-website/docs/proxy/prometheus.md +++ b/docs/my-website/docs/proxy/prometheus.md @@ -130,7 +130,12 @@ Monitor failures while shipping logs to downstream callbacks like `s3_v3` cold s | Metric Name | Description | |----------------------|--------------------------------------| -| `litellm_callback_logging_failures_metric` | Total number of failed attempts to emit logs to a configured callback. Labels: `"callback_name"`. Use this to alert on callback delivery issues such as repeated failures when writing to `s3_v3`. | +| `litellm_callback_logging_failures_metric` | Total number of failed attempts to emit logs to a configured callback. Labels: `"callback_name"`. Use this to alert on callback delivery issues such as repeated failures when writing to `s3_v3`, `langfuse`, or `langfuse_otel` and other otel providers | + +**Supported Callbacks:** +- `S3Logger` - S3 v2 cold storage failures +- `langfuse` - Langfuse logging failures +- `otel` - OpenTelemetry logging failures ## LLM Provider Metrics diff --git a/litellm/integrations/langfuse/langfuse_otel.py b/litellm/integrations/langfuse/langfuse_otel.py index aed9c1f7ae3..08493a0e8ec 100644 --- a/litellm/integrations/langfuse/langfuse_otel.py +++ b/litellm/integrations/langfuse/langfuse_otel.py @@ -46,7 +46,7 @@ class LangfuseOtelLogger(OpenTelemetry): Sets OpenTelemetry span attributes for Langfuse observability. Uses the same attribute setting logic as Arize Phoenix for consistency. """ - raise Exception("Error raised by LangfuseOtelLogger.set_langfuse_otel_attributes") + _utils.set_attributes(span, kwargs, response_obj, LangfuseLLMObsOTELAttributes) #########################################################