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"

参考界面

grafana 8.0 新的报警机制

 

 


grafana 8.0 新的报警机制

 

 

参考资料

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

相关文章:

  • 2021-07-12
  • 2021-05-06
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-17
  • 2022-12-23
  • 2021-12-26
  • 2022-02-03
  • 2021-07-27
  • 2021-11-28
相关资源
相似解决方案