fix!: remove deprecated prometheus metrics by mtojek · Pull Request #21788 · coder/coder

@mtojek

Removes the following deprecated Prometheus metrics:

- coderd_api_workspace_latest_build_total (use coderd_api_workspace_latest_build instead)
- coderd_oauth2_external_requests_rate_limit_total (use coderd_oauth2_external_requests_rate_limit instead)

These metrics were deprecated in #12976 because gauge metrics should
avoid the `_total` suffix per Prometheus naming conventions.

Fixes #12999

@mtojek mtojek changed the title fix: remove deprecated prometheus metrics fix!: remove deprecated prometheus metrics

Jan 30, 2026

@mtojek

@mtojek

@mtojek

johnstcn

@mtojek mtojek deleted the stevendotjs/remove-deprecated-metrics branch

January 30, 2026 12:30