6 views
-/https://github.com/berriai/litellm/issues/30839
GitHub ยท issue

#30839 [Bug]: Prometheus Metrics - litellm_total_users & litellm_teams_count

  • State: open
  • Author: @bd-kwoods
  • Labels: bug, proxy

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

Prometheus litellm_total_users and litellm_teams_count metrics cannot be enabled when metrics are explicitly configured.

Explicit metric config configuration is opt-in so metric names need listed for them to be exposed.

Current metric validation does not support the listing of litellm_total_users & litellm_teams_count and will return and error if configured.

### Steps to Reproduce

1. litellm_settings: prometheus_metrics_config: - group: "my_metrics" metrics: - litellm_proxy_total_requests_metric

Will cause other metrics to disappear. 2. litellm_settings: prometheus_metrics_config: - group: "my_metrics" metrics: - litellm_proxy_total_requests_metric - litellm_total_users (or litellm_total_users_metric) Will cause a validation error. e.g. ``` โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ ๐Ÿšจ๐Ÿšจ Configuration Validation Errors โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ€ฆ

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (3 events)
#0 of 0 ยท 31d18h58m49s ago โ€” entered ยท #import:https:::github.com:berriai:litellm post #2095
30839 has broader configuration, validation, and regression-test implications across the metrics system, while 31475 is comparatively localized to provider signing setup and related coverage.
#0 of 0 ยท 31d18h57m23s ago ยท #import:https:::github.com:berriai:litellm post #2119
The left task spans multimodal normalization, provider-specific translation, URL/data handling, metadata preservation, validation, and broad compatibility testing. The right task is comparatively localized to metric registration and configuration validation.
#0 of 0 ยท 31d18h40m35s ago โ€” current ยท #import:https:::github.com:berriai:litellm post #2396
OpenCode Go requires a new provider integration spanning model discovery, dynamic pricing, protocol selection, request translation, and usage attribution, creating substantially more cross-cutting implementation and compatibility risk. The metrics issue is comparatively localized to configuration validation and metric registration behavior.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search