[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/louislam/uptime-kuma/tree/master&refcode=e2c7eb658434)
If you already use [Prometheus.io](https://prometheus.io) or a platform that supports Prometheus exporter format, you can get the metrics about each monitoring target from `http://<your.installation>:<your_port>/metrics`.
Labels to filter by include:
| Label Name | Description |
+------------+-------------+
|monitor_name| The "Friendly Name" of the monitor |
|monitor_type| The type (http, keyword, tcp) of monitoring check |
|monitor_url | The URL to be monitored (http, keyword)
|monitor_hostname | The Hostname to be monitored (tcp) |
|monitor_port | The port to be monitored (tcp) |
## Example PromQL queries
Assuming we have http monitors in place for bbc.co.uk and google.com:
* I was looking for a self-hosted monitoring tool like "Uptime Robot", but it is hard to find a suitable one. One of the close one is statping. Unfortunately, it is not stable and unmaintained.
If you want to modify Uptime Kuma, this guideline maybe useful for you: https://github.com/louislam/uptime-kuma/wiki/%5BDev%5D-Setup-Development-Environment