Skip to content

fix(proxy): resolve high CPU when router_settings in DB by avoiding REGISTRY.collect() in PrometheusServicesLogger#20087

Merged
AlexsanderHamir merged 2 commits into
mainfrom
litellm_cpu_issue_0000000002
Jan 30, 2026
Merged

fix(proxy): resolve high CPU when router_settings in DB by avoiding REGISTRY.collect() in PrometheusServicesLogger#20087
AlexsanderHamir merged 2 commits into
mainfrom
litellm_cpu_issue_0000000002

fix(proxy): use _names_to_collectors in is_metric_registered to avoid…

ed7b856
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Jan 30, 2026 in 2s

2 configurations not found

Warning: Code scanning cannot determine the alerts introduced by this pull request, because 2 configurations present on refs/heads/main were not found:

Default setup

  • ❓  /language:javascript-typescript
  • ❓  /language:python

View all branch alerts.