grafana 8.0 新的报警机制


grafana 最近发布了8.0 功能还是很不错的,以下是关于8.0 报警运行的配置说明,具体使用可以参考官方文档

docker-compose 文件

version: "2.2"
services:
  grafana:
    image: grafana/grafana
    environment: 
    - "GF_FEATURE_TOGGLES_ENABLE=ngalert" # 主要是此选项,开启特性,默认没开启
    ports:
      - "3000:3000"
  prometheus:
    image: prom/prometheus
    volumes:
      - "./prometheus.yml:/etc/prometheus/prometheus.yml"
    ports:
      - "9090:9090"

参考界面

 

 


 

 

参考资料

https://grafana.com/docs/grafana/latest/administration/configuration/#feature_toggles
https://grafana.com/docs/grafana/latest/alerting/unified-alerting/opt-in/


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM