Grafana是一个开源的数据可视化平台,支持接入很多主流的数据库 如Mysql、Redis、ElasticSearch、Oracle等。可以快速查询和可视化相关数据库的信息!也可以告警相关服务!
常规安装即可!
安装完成后,复制一份配置文件 命名为 consumer.ini 然后修改其配置文件
特别说明:配置文件是.ini,其注释是分号:;
服务server
[server]
# Protocol (http, https, h2, socket)
;protocol = http
# The ip address to bind to, empty will bind to all interfaces
;http_addr =
# The http port to use 页面使用的端口号,修改保存后,重启即生效!
http_port = 18080
权限 security
[security]
# disable creation of admin user on first start of grafana
;disable_initial_admin_creation = false
# default admin user, created on startup 默认就是admin
admin_user = admin
# default admin password, can be changed before first start of grafana, or in profile settings 默认就是admin
admin_password = admin
重启后生效!
Dashboards:仪表盘
去配置自己的仪表盘
https://grafana.com/grafana/dashboards/ 找到ID
然后