uptime-kuma
uptime-kuma copied to clipboard
Add Dashboard ID to Prometheus Labels
⚠️ Please verify that this feature request has NOT been suggested before.
- [X] I checked and didn't find similar feature request
🏷️ Feature Request Type
API
🔖 Feature description
We are using the prometheus integration feature to make prometheus alertmanager send the alerts for us. The use case of having the ID as a prometheus label is we can use it to create a hyperlinked text in the alert message. E.g. https://uptime.example.com/dashboard/{{ .label.id }}
Existing label names can be found here https://github.com/louislam/uptime-kuma/wiki/Prometheus-Integration
✔️ Solution
Given I have a dashboard named Google with ID 23, I want to see the monitor_id
in the the metric label.
monitor_status{monitor_name="Google",monitor_id="23"}
❓ Alternatives
N/A
📝 Additional Context
N/A
+rep