feat: add Prometheus metrics for license warnings and errors by mtojek · Pull Request #21749 · coder/coder

@mtojek mtojek changed the title feat(license): add Prometheus metrics for license warnings and errors feat: add Prometheus metrics for license warnings and errors

Jan 29, 2026

@mtojek

This adds two new Prometheus metrics to track license health:
- coderd_license_warnings - count of active license warnings
- coderd_license_errors - count of active license errors

Also adds Warnings() method to entitlements.Set to expose warnings
similar to the existing Errors() method.

Relates to: coder/internal#767

@mtojek mtojek marked this pull request as ready for review

January 29, 2026 12:20

johnstcn

@mtojek

@mtojek mtojek deleted the issue-767-tkh7 branch

January 29, 2026 12:50