prometheus metric `monitor_cert_days_remaining` missing after update to 1.23.12
DerGary opened this issue Β· comments
π I have found these related issues/pull requests
π‘οΈ Security Policy
- I agree to have read this project Security Policy
Description
after update to 1.23.12 monitor_cert_days_remaining is not exported anymore, it is still shown in the dashboard.
π Reproduction steps
use 1.23.12 and create monitor for an https website
π Expected behavior
monitor_cert_days_remaining is exported as in version 1.23.11
π Actual Behavior
the monitor_cert_days_remaining metric is missing
π» Uptime-Kuma Version
1.23.12
π» Operating System and Arch
debian/docker
π Browser
chrome
π₯οΈ Deployment Environment
- Runtime: Docker 24.0.7
- Database: embedded
- Filesystem used to store the database on:
- number of monitors: 5
π Relevant log output
No response
Are you using a proxy or plain http?
Plain https
This bug was likely introduced by #4630 and is likely caused by a timing issue between
uptime-kuma/server/model/monitor.js
Lines 517 to 519 in e797abd
and
uptime-kuma/server/model/monitor.js
Line 1013 in e797abd
I have a dashboard in grafana, and I don't have the stats (for the metrics below) anymore since the Update
monitor_cert_is_valid
and monitor_cert_days_remaining