summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-01-16 16:55:21 +0200
committerGitHub <noreply@github.com>2023-01-16 16:55:21 +0200
commite9855522de8dce157b3d600dabbe9de888ba1b7f (patch)
tree0f0391663b1cb2968ce2fed194d52ff4825f248d /health
parente5be62dcbcb4729d87c0a68c58b31a220b98b1c1 (diff)
bump go.d.plugin to v0.49.1 (#14275)
Diffstat (limited to 'health')
-rw-r--r--health/health.d/postgres.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health.d/postgres.conf b/health/health.d/postgres.conf
index 6c04ef13f4..67b25673bc 100644
--- a/health/health.d/postgres.conf
+++ b/health/health.d/postgres.conf
@@ -161,7 +161,7 @@ component: PostgreSQL
type: Database
component: PostgreSQL
hosts: *
- calc: $bloat
+ calc: ($table_size > (1024 * 1024 * 100)) ? ($bloat) : (0)
units: %
every: 1m
warn: $this > (($status >= $WARNING) ? (60) : (70))
@@ -204,7 +204,7 @@ component: PostgreSQL
type: Database
component: PostgreSQL
hosts: *
- calc: $bloat
+ calc: ($index_size > (1024 * 1024 * 10)) ? ($bloat) : (0)
units: %
every: 1m
warn: $this > (($status >= $WARNING) ? (60) : (70))