Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita3b91da

Browse files
committed
Edit Dashboard_4_Wait_Sampling_Dashboard.json
make "all databases" filter by default
1 parent176441c commita3b91da

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

‎config/grafana/dashboards/Dashboard_4_Wait_Sampling_Dashboard.json‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"editable":true,
1919
"fiscalYearStartMonth":0,
2020
"graphTooltip":0,
21-
"id":7,
21+
"id":9,
2222
"links": [],
2323
"panels": [
2424
{
@@ -278,7 +278,7 @@
278278
"targets": [
279279
{
280280
"editorMode":"code",
281-
"expr":"sort_by_label(sum by (wait_event_type) (pgwatch_wait_events_total{cluster='$cluster_name', node_name='$node_name', datname=\"$db_name\"}), 'wait_event_type')",
281+
"expr":"sort_by_label(sum by (wait_event_type) (pgwatch_wait_events_total{cluster='$cluster_name', node_name='$node_name', datname=~\"$db_name\"}), 'wait_event_type')",
282282
"hide":false,
283283
"legendFormat":"__auto",
284284
"range":true,
@@ -1007,12 +1007,17 @@
10071007
"type":"query"
10081008
},
10091009
{
1010+
"allowCustomValue":false,
10101011
"current": {
1011-
"text":"workloaddb",
1012-
"value":"workloaddb"
1012+
"text":"All",
1013+
"value": [
1014+
"$__all"
1015+
]
10131016
},
10141017
"definition":"label_values(pgwatch_pg_database_wraparound_age_datfrozenxid{cluster=\"$cluster_name\", node_name=\"$node_name\", datname!=\"template1\"},datname)",
1018+
"includeAll":true,
10151019
"label":"DB name",
1020+
"multi":true,
10161021
"name":"db_name",
10171022
"options": [],
10181023
"query": {
@@ -1034,5 +1039,5 @@
10341039
"timezone":"browser",
10351040
"title":"04. Wait event analysis (Active Session History)",
10361041
"uid":"a222b233-acef-4bac-a451-1591023e4d4f",
1037-
"version":10
1042+
"version":11
10381043
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp