Skip to content

Commit 511ef0e

Browse files
committed
fix a bug in the query to fetch shared_buffers setting
1 parent b3bb440 commit 511ef0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pg_postmaster:
1313
description: "Time at which postmaster started"
1414

1515
pg_settings_shared_buffers:
16-
query: "SELECT 8192*setting as bytes from pg_settings where name = 'shared_buffers'"
16+
query: "SELECT 8192*setting::int as bytes from pg_settings where name = 'shared_buffers'"
1717
metrics:
1818
- bytes:
1919
usage: "GAUGE"

0 commit comments

Comments
 (0)