The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Add documentation
Sameer Kankute11b4c456b47f
diff --git a/docs/my-website/docs/proxy/prometheus.md b/docs/my-website/docs/proxy/prometheus.mdindex 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 Metricsdiff --git a/litellm/integrations/langfuse/langfuse_otel.py b/litellm/integrations/langfuse/langfuse_otel.pyindex 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)#########################################################