grafana使用笔记

178 阅读1分钟

1、配置以下环境变量,关闭验证。

GF_AUTH_PROXY_ENABLED: true
GF_AUTH_ANONYMOUS_ENABLED: true

2、Prometheus安装启动

#修改启动端口为20001
nohup ./prometheus --config.file=prometheus.yml --web.listen-address=:20001 >prometheus.log  2>&1 &

3、配置linux监控模板 参考:blog.csdn.net/xuqide77/ar…