Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
BerriAI
/
litellm
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
11.8k
Star
59.7k
Code
Issues
1.7k
Pull requests
3.6k
Discussions
Actions
Projects
Security and quality
14
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
[WIP][Perf] Litellm prometheus improvements
- #25934
#25934
Merged
ishaan-berri
merged 8 commits into
litellm_internal_staging
BerriAI/litellm:litellm_internal_staging
from
litellm_prometheus_improvements
BerriAI/litellm:litellm_prometheus_improvements
Copy head branch name to clipboard
Apr 17, 2026
Conversation
Commits
8
(8)
Checks
Files changed
Merged
[WIP][Perf] Litellm prometheus improvements
#25934
ishaan-berri
merged 8 commits into
litellm_internal_staging
BerriAI/litellm:litellm_internal_staging
from
litellm_prometheus_improvements
BerriAI/litellm:litellm_prometheus_improvements
Copy head branch name to clipboard
Commits
Commits on Apr 17, 2026
amortize label context call, by reducing number of label_factory calls, reduces CPU time by ~5%
harish-berri
committed
69f2bc1
View commit details
Copy full SHA for 69f2bc1
Browse repository at this point
removing pydantic base model __repr__, __repr_str__ and __repr_args__ function calls from the hotpath and replacing them with lightweight python native dataclasses.
Show description for 95824dd
harish-berri
committed
95824dd
View commit details
Copy full SHA for 95824dd
Browse repository at this point
Removed slots attr which was causing test failures in python 3.9.
Show description for 1eb6be9
harish-berri
committed
1eb6be9
View commit details
Copy full SHA for 1eb6be9
Browse repository at this point
added comments to disable repr
harish-berri
committed
62a189f
View commit details
Copy full SHA for 62a189f
Browse repository at this point
fixing backwards compatibility for tests
harish-berri
committed
5df3287
View commit details
Copy full SHA for 5df3287
Browse repository at this point
fix(prometheus): restore labeled-counter tests; tolerate UserAPIKeyLabelValues kwargs
harish-berri
committed
9d10ebf
View commit details
Copy full SHA for 9d10ebf
Browse repository at this point
resolve lint errors
harish-berri
committed
b3ccbb9
View commit details
Copy full SHA for b3ccbb9
Browse repository at this point
resolving code comments to move helper logic to ```prometheus_helper.py```
harish-berri
committed
8e77f9e
View commit details
Copy full SHA for 8e77f9e
Browse repository at this point
You can’t perform that action at this time.