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

Commit c60f55d

Browse files
Changed name for Single index analysis dashboard, fixed the Boguk ratio dashboard
1 parent b80734a commit c60f55d

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

‎config/grafana/dashboards/Dashboard_10_Index_pilot.json‎ renamed to ‎config/grafana/dashboards/Dashboard_10_Single_index_analysis.json‎

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,16 @@
148148
"type": "prometheus",
149149
"uid": "P7A0D6631BB10B34F"
150150
},
151+
"disableTextWrap": false,
151152
"editorMode": "code",
152-
"expr": "pgwatch_pg_index_pilot_index_size_bytes{indexrelname=\"$index_name\", schemaname=\"$schema_name\"}/pgwatch_pg_index_pilot_estimated_tuples{indexrelname=\"$index_name\", schemaname=\"$schema_name\"}",
153+
"expr": "pgwatch_pg_class_total_relation_size_bytes{relname=\"$index_name\", schemaname=\"$schema_name\"} / pgwatch_pg_class_reltuples{relname=\"$index_name\", schemaname=\"$schema_name\"}",
154+
"fullMetaSearch": false,
155+
"includeNullMetadata": true,
153156
"interval": "",
154157
"legendFormat": "Current Boguk ratio",
155158
"range": true,
156-
"refId": "A"
159+
"refId": "A",
160+
"useBackend": false
157161
},
158162
{
159163
"datasource": {
@@ -164,7 +168,7 @@
164168
"expr": "pgwatch_pg_index_pilot_best_ratio{indexrelname=\"$index_name\", schemaname=\"$schema_name\"}",
165169
"hide": false,
166170
"instant": false,
167-
"legendFormat": "Best ratio",
171+
"legendFormat": "Baseline Boguk ratio",
168172
"range": true,
169173
"refId": "B"
170174
}
@@ -180,8 +184,8 @@
180184
"list": [
181185
{
182186
"current": {
183-
"text": "",
184-
"value": ""
187+
"text": "test_pilot",
188+
"value": "test_pilot"
185189
},
186190
"definition": "label_values(pgwatch_pg_index_pilot_estimated_tuples,schemaname)",
187191
"name": "schema_name",
@@ -215,12 +219,12 @@
215219
]
216220
},
217221
"time": {
218-
"from": "now-5m",
222+
"from": "now-1h",
219223
"to": "now"
220224
},
221225
"timepicker": {},
222226
"timezone": "browser",
223-
"title": "Index Pilot",
227+
"title": "10. Single index analysis",
224228
"uid": "aa0128c5-c5a0-4418-a99e-c941af10426e",
225-
"version": 5
229+
"version": 6
226230
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /