Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Grafana monitoring content and update images #3195

Merged
merged 20 commits into from
May 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)