feat: add Prometheus metrics for license warnings and errors by mtojek · Pull Request #21749 · coder/coder
mtojek
changed the title
feat(license): add Prometheus metrics for license warnings and errors
feat: add Prometheus metrics for license warnings and errors
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
marked this pull request as ready for review
mtojek
deleted the
issue-767-tkh7
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters