promgen是一個方便的prometheus 配置文件生成工具,可以幫助我們生成以及管理prometheus的配置文件,同時可以配置案例alert 規則以及通知選項
基於python開發
參考架構
promgen使用模式
- worker 模式(push)
說明依賴celery
- cron 模式(pull)
說明
promgen可以作為我們使用prometheus的一個工具,同時一些玩法也是可以借鑒的
參考資料
https://github.com/line/promgen
https://line.github.io/promgen/conf/index.html