grafana通用可视化平台、监控平台

文章目录

grafana是一个通用可视化平台,可以支持influxdb,mysql,oracle等数据库,功能强大,但有一定上手难度。

添加influxdb数据源

connections | data sources | add new data source,如图:

然后选influxdb,到详细配置界面,如图:

简要说明下:

(1) http 配置 http://localhost:8181 # 这是influxdb3的地址

(2) 因为用token校验,所以basic auth不需要打开

(3) token校验是添加在header里面的

key值为Authorization,

value值为Bearer 这里是token值

(4)database填实际的数据库名,例如这里为testdb

(5)点save & test。

查询

explore是查询界面。

不太好上手,想要快速的话建议纯sql模式,点右侧的6个点下面的编辑图标,这样可以直接输入sql。

安装与启动

1、下载 访问官网下载界面https://grafana.com/grafana/download

按标准的红框点击下载。

2、安装

双击安装,一直下一步即可。

3、打开

注:惯性思维会去桌面找快捷图标,或者到安装目录找可执行文件,这里不是这么操作。

浏览器访问 http://localhost:3000/dashboards

输入账号密码 admin/admin # 这是默认的

然后改下密码。
登录后的界面如图:

文档

grafana官网下载界面:
https://grafana.com/grafana/download

相关推荐
飞奔的瓜牛1 天前
Loki + Promtail + Prometheus + Grafana 实现日志关键字监控及告警
grafana·prometheus·日志监控告警
飞奔的瓜牛1 天前
Loki + Grafana + Alloy 实现日志检索:完整部署步骤
grafana
JasonChen@6664 天前
Prometheus 存储实战:本地 TSDB 配置与 VictoriaMetrics 远端存储对接(18)
grafana·prometheus·victoria
JasonChen@6665 天前
Grafana 权限管理实战:用户授权与 Team 团队管理(17)
grafana·prometheus
JasonChen@6666 天前
pushgateway组件实现自定义监控数据采集(16)
grafana·prometheus·pushgateway
W_son8 天前
14.Grafana 监控看板实战:新建、调优、变量配置全流程
grafana·prometheus
BullSmall10 天前
Prometheus监控栈安全加固全攻略
安全·grafana·prometheus
JasonChen@66612 天前
prometheus静态监控static_config案例四(10)
grafana·prometheus
JasonChen@66614 天前
prometheus静态监控static_config案例二(8)
grafana·prometheus
IT古董20 天前
Grafana 企业级可观测性平台:从零基础到生产级实战完整教程
grafana