BerriAI / litellm

Python SDK, Proxy Server (LLM Gateway) to call 100+ LLM APIs in OpenAI format - [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, Replicate, Groq]
https://docs.litellm.ai/docs/
Other
12.55k stars 1.46k forks source link

[Feat] Add proxy level prometheus metrics #5789

Closed ishaan-jaff closed 1 week ago

ishaan-jaff commented 1 week ago

Title

litellm_proxy_failed_requests_metric_total {
    api_key_alias: "None",
    end_user: "None",
    hashed_api_key: "88dc28d0f030c55ed4ab77ed8faf098196cb1c05df778539800c9f1243fe6b4b",
    requested_model: "fake-azure-endpoint",
    team: "None",
    team_alias: "None",
    user: "default_user_id"
} 1.0

litellm_proxy_total_requests_metric_total {
    api_key_alias: "None",
    end_user: "None",
    hashed_api_key: "88dc28d0f030c55ed4ab77ed8faf098196cb1c05df778539800c9f1243fe6b4b",
    requested_model: "gemini-vision",
    team: "None",
    team_alias: "None",
    user: "default_user_id"
} 1.0

Relevant issues

Type

๐Ÿ†• New Feature ๐Ÿ› Bug Fix ๐Ÿงน Refactoring ๐Ÿ“– Documentation ๐Ÿš„ Infrastructure โœ… Test

Changes

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
litellm โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 19, 2024 11:33pm