新增prometheus采集

自动发现监控

已实现采样接口逻辑的资源,可通过annotation标签自动将其加入监控

  • Pod资源
    • prometheus.io/scrape=true     
    • prometheus.io/path=/metric
    • prometheus.io/port=8080
  • Service资源
    • prometheus.io/probe
  • Endpoint资源
    • prometheus.io/scrape
    • prometheus.io/path
    • prometheus.io/port

 

posted @ 2020-12-15 10:10  在半空頫視地球╰☆╮  阅读(120)  评论(0编辑  收藏  举报