Marcin Tojek
04b0253e8a
feat: add Prometheus metrics for license warnings and errors ( #21749 )
...
Fixes : coder/internal#767
Adds two new Prometheus metrics for license health monitoring:
- `coderd_license_warnings` - count of active license warnings
- `coderd_license_errors` - count of active license errors
Metrics endpoint after startup of a deployment with license enabled:
```
...
# HELP coderd_license_errors The number of active license errors.
# TYPE coderd_license_errors gauge
coderd_license_errors 0
...
# HELP coderd_license_warnings The number of active license warnings.
# TYPE coderd_license_warnings gauge
coderd_license_warnings 0
...
```
2026-01-29 13:50:15 +01:00
..
2026-01-27 22:33:53 +11:00
2026-01-08 15:24:11 +04:00
2023-11-20 19:16:18 +00:00
2026-01-08 15:24:11 +04:00
2026-01-08 15:24:11 +04:00
2025-06-20 13:16:55 -06:00
2022-08-22 15:02:50 -07:00
2026-01-29 13:50:15 +01:00
2025-06-16 16:15:59 -06:00
2026-01-23 14:45:27 +00:00
2026-01-08 15:24:11 +04:00
2026-01-21 13:18:43 +00:00
2024-11-15 12:30:11 -06:00
2025-07-09 08:45:24 -06:00
2026-01-08 15:24:11 +04:00
2026-01-26 10:46:45 +01:00
2025-12-29 16:17:46 +00:00
2026-01-08 15:24:11 +04:00
2026-01-26 10:46:45 +01:00
2025-12-29 18:00:06 +00:00
2025-10-22 15:35:16 +02:00
2024-09-18 21:47:53 +10:00
2025-02-24 12:59:41 -05:00
2025-06-20 13:16:55 -06:00
2026-01-28 16:30:56 +00:00
2026-01-27 19:11:40 -07:00
2025-07-15 15:03:30 +10:00
2025-09-15 12:30:17 +10:00
2025-07-09 08:45:24 -06:00
2025-12-15 11:26:41 -06:00
2026-01-12 18:19:19 -08:00
2025-09-30 23:54:21 +01:00
2025-01-31 12:14:24 -07:00
2025-08-20 23:38:09 +10:00
2025-06-17 17:50:18 -04:00
2025-06-20 13:16:55 -06:00
2025-10-22 16:12:36 +02:00
2026-01-08 15:24:11 +04:00
2025-10-23 14:24:54 +02:00
2025-03-26 01:56:39 -05:00
2024-09-27 14:06:16 -05:00
2026-01-12 18:19:19 -08:00
2025-06-20 13:00:39 -05:00
2025-07-02 15:05:42 +00:00
2026-01-08 15:24:11 +04:00
2026-01-09 15:40:26 -07:00
2025-06-20 13:16:55 -06:00
2025-01-30 14:08:27 -07:00
2025-10-23 14:24:54 +02:00
2024-05-15 09:46:35 -05:00
2026-01-12 18:19:19 -08:00
2026-01-12 18:19:19 -08:00
2025-02-10 09:31:08 -06:00
2025-12-17 16:49:40 +04:00
2026-01-08 15:24:11 +04:00
2026-01-08 15:24:11 +04:00
2025-08-20 23:38:09 +10:00
2024-09-16 19:03:25 -05:00
2025-06-20 13:16:55 -06:00
2024-08-26 13:05:03 -05:00
2026-01-21 13:18:43 +00:00
2025-08-19 11:00:40 +00:00
2025-12-17 17:28:38 +00:00
2025-06-16 16:15:59 -06:00
2025-06-20 13:16:55 -06:00
2026-01-08 15:24:11 +04:00
2026-01-08 15:24:11 +04:00
2024-12-19 00:51:30 +04:00
2025-12-15 11:26:41 -06:00
2026-01-08 15:24:11 +04:00
2026-01-27 19:01:17 -06:00
2026-01-22 08:12:15 -08:00
2026-01-14 09:47:50 -08:00