Skip to content

Commit

Permalink
Add Grafana monitoring content and update images (#3195)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhibotao authored May 25, 2020
1 parent 4289e87 commit 4b14182
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 4 deletions.
2 changes: 1 addition & 1 deletion grafana-overview-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ aliases: ['/docs-cn/dev/reference/key-monitoring-metrics/overview-dashboard/']

## 图例

![overview](/media/overview.png)
![overview](/media/grafana_monitor_overview.png)
Binary file added media/grafana_monitor_overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/grafana_monitored_groups.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed media/overview.png
Binary file not shown.
29 changes: 26 additions & 3 deletions tidb-monitoring-framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ Prometheus 提供了多个组件供用户使用。目前,TiDB 使用了以下

## Grafana 在 TiDB 中的应用

Grafana 是一个开源的 metric 分析及可视化系统。TiDB 使用 Grafana 来展示 TiDB 的各项性能指标。如下图所示:

![Grafana in TiDB](/media/grafana-screenshot.png)
Grafana 是一个开源的 metric 分析及可视化系统。TiDB 使用 Grafana 来展示 TiDB 集群各组件的相关监控,监控项分组如下图所示:

![Grafana monitored_groups](/media/grafana_monitored_groups.png)

- {TiDB_Cluster_name}-Backup-Restore:备份恢复相关的监控项。
- {TiDB_Cluster_name}-Binlog:TiDB Binlog 相关的监控项。
- {TiDB_Cluster_name}-Blackbox_exporter:网络探活相关监控项。
- {TiDB_Cluster_name}-Disk-Performance:磁盘性能相关监控项。
- {TiDB_Cluster_name}-Kafka-Overview:Kafka 相关监控项。
- {TiDB_Cluster_name}-Lightning:TiDB Lightning 组件相关监控项。
- {TiDB_Cluster_name}-Node_exporter:操作系统相关监控项。
- {TiDB_Cluster_name}-Overview:重要组件监控概览。
- {TiDB_Cluster_name}-PD:PD server 组件相关监控项。
- {TiDB_Cluster_name}-Performance-Read:读性能相关监控项。
- {TiDB_Cluster_name}-Performance-Write:写性能相关监控项。
- {TiDB_Cluster_name}-TiDB:TiDB server 组件详细监控项。
- {TiDB_Cluster_name}-TiDB-Summary:TiDB server 相关监控项概览。
- {TiDB_Cluster_name}-TiFlash-Proxy-Summary:数据同步到 TiFlash 的代理 server 监控项概览。
- {TiDB_Cluster_name}-TiFlash-Summary:TiFlash server 相关监控项概览。
- {TiDB_Cluster_name}-TiKV-Details:TiKV server 组件详细监控项。
- {TiDB_Cluster_name}-TiKV-Summary:TiKV server 监控项概览。
- {TiDB_Cluster_name}-TiKV-Trouble-Shooting:TiKV 错误诊断相关监控项。

每个分组包含多个监控项页签,页签中包含多个详细的监控项信息。以 Overview 监控组为例,其中包含 5 个页签,每个页签内有相应的监控指标看板,如下图所示:

![Grafana Overview](/media/grafana_monitor_overview.png)

0 comments on commit 4b14182

Please sign in to comment.