Skip to content
Open
Changes from 2 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
54 changes: 27 additions & 27 deletions grafana-dashboard/ClickHouseKeeper_dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,19 +154,19 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "ClickHouseAsyncMetrics_KeeperAvgLatency{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}",
"expr": "ClickHouseAsyncMetrics_KeeperAvgLatency{namespace=~\"$namespace\", pod=~\"$pod\"}",
"interval": "",
"legendFormat": "avg {{namespace}}.{{pod_name}}",
"legendFormat": "avg {{namespace}}.{{pod}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "ClickHouseAsyncMetrics_KeeperMaxLatency{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}",
"expr": "ClickHouseAsyncMetrics_KeeperMaxLatency{namespace=~\"$namespace\", pod=~\"$pod\"}",
"interval": "",
"legendFormat": "max {{namespace}}.{{pod_name}}",
"legendFormat": "max {{namespace}}.{{pod}}",
"refId": "B"
}
],
Expand Down Expand Up @@ -261,10 +261,10 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "ClickHouseMetrics_KeeperAliveConnections{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}",
"expr": "ClickHouseMetrics_KeeperAliveConnections{namespace=~\"$namespace\", pod=~\"$pod\"}",
"hide": false,
"interval": "",
"legendFormat": "{{namespace}}.{{pod_name}}",
"legendFormat": "{{namespace}}.{{pod}}",
"refId": "A"
}
],
Expand Down Expand Up @@ -358,20 +358,20 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "irate(ClickHouseAsyncMetrics_KeeperPacketsSent{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}[1m])",
"expr": "irate(ClickHouseAsyncMetrics_KeeperPacketsSent{namespace=~\"$namespace\", pod=~\"$pod\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "OUT {{namespace}}.{{pod_name}}",
"legendFormat": "OUT {{namespace}}.{{pod}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "-irate(ClickHouseAsyncMetrics_KeeperPacketsReceived{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}[1m])",
"expr": "-irate(ClickHouseAsyncMetrics_KeeperPacketsReceived{namespace=~\"$namespace\", pod=~\"$pod\"}[1m])",
"interval": "",
"legendFormat": "IN {{namespace}}.{{pod_name}}",
"legendFormat": "IN {{namespace}}.{{pod}}",
"refId": "B"
}
],
Expand Down Expand Up @@ -465,9 +465,9 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "ClickHouseAsyncMetrics_KeeperZnodeCount{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}",
"expr": "ClickHouseAsyncMetrics_KeeperZnodeCount{namespace=~\"$namespace\", pod=~\"$pod\"}",
"interval": "",
"legendFormat": "{{namespace}}.{{pod_name}}",
"legendFormat": "{{namespace}}.{{pod}}",
"refId": "A"
}
],
Expand Down Expand Up @@ -562,9 +562,9 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "ClickHouseAsyncMetrics_KeeperWatchCount{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}",
"expr": "ClickHouseAsyncMetrics_KeeperWatchCount{namespace=~\"$namespace\", pod=~\"$pod\"}",
"interval": "",
"legendFormat": "{{namespace}}.{{pod_name}}",
"legendFormat": "{{namespace}}.{{pod}}",
"refId": "A"
}
],
Expand Down Expand Up @@ -659,9 +659,9 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "ClickHouseAsyncMetrics_KeeperEphemeralsCount{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}",
"expr": "ClickHouseAsyncMetrics_KeeperEphemeralsCount{namespace=~\"$namespace\", pod=~\"$pod\"}",
"interval": "",
"legendFormat": "{{namespace}}.{{pod_name}}",
"legendFormat": "{{namespace}}.{{pod}}",
"refId": "A"
}
],
Expand Down Expand Up @@ -755,9 +755,9 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "ClickHouseAsyncMetrics_KeeperApproximateDataSize{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}",
"expr": "ClickHouseAsyncMetrics_KeeperApproximateDataSize{namespace=~\"$namespace\", pod=~\"$pod\"}",
"interval": "",
"legendFormat": "{{namespace}}.{{pod_name}}",
"legendFormat": "{{namespace}}.{{pod}}",
"refId": "A"
}
],
Expand Down Expand Up @@ -868,9 +868,9 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "irate(ClickHouseMetrics_KeeperOutstandingRequests{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}[1m])",
"expr": "irate(ClickHouseMetrics_KeeperOutstandingRequests{namespace=~\"$namespace\", pod=~\"$pod\"}[1m])",
"interval": "",
"legendFormat": "{{namespace}}.{{pod_name}}",
"legendFormat": "{{namespace}}.{{pod}}",
"refId": "A"
}
],
Expand Down Expand Up @@ -965,9 +965,9 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "ClickHouseAsyncMetrics_KeeperOpenFileDescriptorCount{namespace=~\"$namespace\", pod_name=~\"$pod_name\", container_name=\"clickhouse-keeper\"}",
"expr": "ClickHouseAsyncMetrics_KeeperOpenFileDescriptorCount{namespace=~\"$namespace\", pod=~\"$pod\"}",
"interval": "",
"legendFormat": "{{namespace}}.{{pod_name}}",
"legendFormat": "{{namespace}}.{{pod}}",
"refId": "A"
}
],
Expand All @@ -990,14 +990,14 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(up{container_name=\"clickhouse-keeper\"},namespace)",
"definition": "label_values({__name__=~\"ClickHouse.*Keeper.*\",pod=~\"chk-clickhouse-keeper.*\"},namespace)",
"includeAll": true,
"multi": true,
"name": "namespace",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(up{container_name=\"clickhouse-keeper\"},namespace)",
"query": "label_values({__name__=~\"ClickHouse.*Keeper.*\",pod=~\"chk-clickhouse-keeper.*\"},namespace)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 2,
Expand All @@ -1011,14 +1011,14 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(up{container_name=\"clickhouse-keeper\", namespace=~\"$namespace\"},pod_name)",
"definition": "label_values({__name__=~\"ClickHouse.*Keeper.*\",pod=~\"chk-clickhouse-keeper.*\",namespace=~\"$namespace\"},pod)",
"includeAll": true,
"multi": true,
"name": "pod_name",
"name": "pod",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(up{container_name=\"clickhouse-keeper\", namespace=~\"$namespace\"},pod_name)",
"query": "label_values({__name__=~\"ClickHouse.*Keeper.*\",pod=~\"chk-clickhouse-keeper.*\",namespace=~\"$namespace\"},pod)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 2,
Expand Down
Loading