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
Update litellm/integrations/datadog/datadog_metrics.py
Harshit Jain9d3e97a2d8d3
diff --git a/litellm/integrations/datadog/datadog_metrics.py b/litellm/integrations/datadog/datadog_metrics.pyindex 70576d2d157..fcf40701e28 100644--- a/litellm/integrations/datadog/datadog_metrics.py+++ b/litellm/integrations/datadog/datadog_metrics.py@@ -215,11 +215,10 @@ class DatadogMetricsLogger(CustomBatchLogger):try:await self._upload_to_datadog(payload_data)except Exception as e:- # Re-insert failed batch so next flush retries- self.log_queue.extend(batch)verbose_logger.exception(f"Datadog Metrics: Error in async_send_batch: {str(e)}")+ raiseasync def _upload_to_datadog(self, payload: DatadogMetricsPayload):if not self.dd_api_key: