louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
52.45k stars 4.72k forks source link

monitor_cert_days_remaining metrics #4891

Open alekhinexxx opened 1 week ago

alekhinexxx commented 1 week ago

⚠️ Please verify that this question has NOT been raised before.

πŸ›‘οΈ Security Policy

πŸ“ Describe your problem

i am trying to get the monitor_cert_days_remaining metric to fetch from promenteus, but there is no such data in uptimekuma metrics nor in prometheus

πŸ“ Error Message(s) or Log

image image

🐻 Uptime-Kuma Version

Version: 1.22.1

πŸ’» Operating System and Arch

Version: 1.23.12

🌐 Browser

brave

πŸ–₯️ Deployment Environment

Docker

CommanderStorm commented 1 week ago

Cannot reproduce on my system (runnting uptime kuma 1.23.12): image

[!TIP] The metric is not avaliable if the certificate expiry has been disabled via either of these settings on each monitor: image

About the version you reported: We don't support 1.22.1 anymore => please update

PS: You forgot to fill out Operating System/Arch and Deployment Environment

alekhinexxx commented 1 week ago

Cannot reproduce on my system (runnting uptime kuma 1.23.12): image

Tip

The metric is not avaliable if the certificate expiry has been disabled via either of these settings on each monitor: image

About the version you reported: We don't support 1.22.1 anymore => please update

PS: You forgot to fill out Operating System/Arch and Deployment Environment

I've turned on the feature you mentioned, but still no data is showing up in the metrics

uptime kuma version image

CommanderStorm commented 1 week ago

Bit lost what is different.

Just to be sure:

alekhinexxx commented 5 days ago

I still don't get those metric values ​​and I'm stuck here