gmauleon / alertmanager-zabbix-provisioner

Zabbix provisioner to automatically create host/items/triggers from Prometheus rules
13 stars 12 forks source link

Using the updated Prometheus API to get rules as JSON. #4

Open H3199 opened 5 years ago

H3199 commented 5 years ago

https://github.com/prometheus/prometheus/pull/4318 introduced a way to expose rules via GET /api/v1/rules.

owelinux commented 4 years ago

Prometheus API to get rules not's JSON, It's html, so it's not work