-
Notifications
You must be signed in to change notification settings - Fork 4
/
chtop.yaml
30 lines (30 loc) · 946 Bytes
/
chtop.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
theme:
border: violet
graph:
color: red
height: 5
precision: 1
clickhousemetrics:
metrics:
- alias: Total Queries
name: ClickHouseProfileEvents_Query
- alias: Total Select Queries
name: ClickHouseProfileEvents_SelectQuery
- alias: Total Insert Queries
name: ClickHouseProfileEvents_InsertQuery
- alias: Number of Active Parts
name: ClickHouseMetrics_PartsActive
- alias: Number of TCP Connections
name: ClickHouseMetrics_TCPConnection
- alias: Number of Open File Descriptors
name: ClickHouseProfileEvents_FileOpen
clickhousequeries:
queries:
- name: Number of Running Queries
sql: "select count(*) from system.processes"
- name: Number of Databases
sql: "select count(*) from system.databases"
- name: Number of Tables
sql: "select count(*) from system.tables"
- name: Number of Parts
sql: "select count(*) from system.parts"