We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba4508f commit 9ef651eCopy full SHA for 9ef651e
weops/pipe-tools/bk_pkg/kingbase/kingbase.collector.yml
@@ -319,19 +319,18 @@ queries:
319
l.locktype,
320
count(l.locktype) filter(
321
WHERE
322
- granted = 't'
+ granted = true
323
) AS granted_count,
324
325
326
- granted != 't'
+ granted = false
327
) AS wait_count
328
FROM
329
sys_locks l
330
LEFT JOIN sys_database dtb ON l.database = dtb.oid
331
GROUP BY
332
333
- dtb.datname,
334
- l.granted
+ dtb.datname
335
336
- query_name: system_query
337
query: |
0 commit comments