Skip to content

Commit d6bee51

Browse files
AlexandrAlexandr
authored andcommitted
fix(statements): wal_bytes fix
1 parent 32dfd3f commit d6bee51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mamonsu/plugins/pgsql/statements.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Statements(Plugin):
1515
"pgpro_stats":
1616
"""
1717
SELECT {metrics}
18-
FROM {extension_schema}.pgpro_stats_totals()
18+
FROM fake_stats.pgpro_stats_totals()
1919
WHERE object_type = 'cluster';
2020
""",
2121
"pgpro_stats_bootstrap":
@@ -60,7 +60,7 @@ class Statements(Plugin):
6060

6161
Items_pg_13 = [
6262
("stat[wal_bytes]",
63-
"sum(wal_bytes)::bigint",
63+
"sum(wal_bytes)::numeric",
6464
"Amount of WAL Files", Plugin.UNITS.bytes_per_second, Plugin.DELTA.speed_per_second,
6565
("PostgreSQL Statements: WAL Statistics", "00B0B8", 0)),
6666
("stat[wal_records]",

0 commit comments

Comments
 (0)