python开发prometheus exporter

先描述一下需求,我要对公网IP进行监控,检查响应情况,大概实现起来就是循环执行curl IP/xxx.html ,然后查看http code和响应时间。现在我想把它弄成exporter,接到prometheus上,能够在响应时间超时,或者502时候发出告警,顺便grafana出个图 prometheus_client文档地址(完全看不懂orz):https://github.com/prometh
相关文章
相关标签/搜索