File tree Expand file tree Collapse file tree 1 file changed +9
-40
lines changed
config/grafana/dashboards Expand file tree Collapse file tree 1 file changed +9
-40
lines changed Original file line number Diff line number Diff line change 120120 "axisPlacement" : " auto" ,
121121 "barAlignment" : 0 ,
122122 "axisSoftMin" : 0 ,
123- "barWidthFactor" : 0.5 ,
123+ "barWidthFactor" : 1 ,
124124 "drawStyle" : " bars" ,
125- "fillOpacity" : 40 ,
125+ "fillOpacity" : 100 ,
126126 "gradientMode" : " none" ,
127127 "hideFrom" : {
128128 "legend" : false ,
168168 {
169169 "matcher" : {
170170 "id" : " byRegexp" ,
171- "options" : " Timeout"
171+ "options" : " Timeout.* "
172172 },
173173 "properties" : [
174174 {
198198 {
199199 "matcher" : {
200200 "id" : " byRegexp" ,
201- "options" : " Lock"
201+ "options" : " Lock.* "
202202 },
203203 "properties" : [
204204 {
213213 {
214214 "matcher" : {
215215 "id" : " byRegexp" ,
216- "options" : " LWLock"
216+ "options" : " LWLock.* "
217217 },
218218 "properties" : [
219219 {
228228 {
229229 "matcher" : {
230230 "id" : " byRegexp" ,
231- "options" : " IO"
231+ "options" : " IO.* "
232232 },
233233 "properties" : [
234234 {
243243 {
244244 "matcher" : {
245245 "id" : " byRegexp" ,
246- "options" : " Client"
246+ "options" : " Client.* "
247247 },
248248 "properties" : [
249249 {
254254 }
255255 }
256256 ]
257- },
258- {
259- "__systemRef" : " hideSeriesFrom" ,
260- "matcher" : {
261- "id" : " byNames" ,
262- "options" : {
263- "mode" : " exclude" ,
264- "names" : [
265- " CPU*" ,
266- " Lock" ,
267- " LWLock" ,
268- " IO" ,
269- " Timeout" ,
270- " BufferPin" ,
271- " Extension" ,
272- " IPC"
273- ],
274- "prefix" : " All except:" ,
275- "readOnly" : true
276- }
277- },
278- "properties" : [
279- {
280- "id" : " custom.hideFrom" ,
281- "value" : {
282- "legend" : false ,
283- "tooltip" : false ,
284- "viz" : true
285- }
286- }
287- ]
288257 }
289258 ]
290259 },
316285 "targets" : [
317286 {
318287 "editorMode" : " code" ,
319- "expr" : " sum by (wait_event_type) (pgwatch_wait_events_total{query_id=\" $query_id\" })" ,
288+ "expr" : " sum by (wait_event_type, wait_event ) (pgwatch_wait_events_total{query_id=\" $query_id\" })" ,
320289 "hide" : false ,
321- "legendFormat" : " __auto " ,
290+ "legendFormat" : " {{wait_event_type}}:{{wait_event}} " ,
322291 "range" : true ,
323292 "refId" : " A"
324293 },
You can’t perform that action at this time.
0 commit comments