From d3476093ccc77be866bcb8ee72723e282880965e Mon Sep 17 00:00:00 2001 From: Seth Samuel Date: Tue, 16 Jul 2024 09:10:00 -0400 Subject: [PATCH] Default --- postgres/datadog_checks/postgres/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/datadog_checks/postgres/config.py b/postgres/datadog_checks/postgres/config.py index 276f5a7b68555..05cbbe4f6e5d6 100644 --- a/postgres/datadog_checks/postgres/config.py +++ b/postgres/datadog_checks/postgres/config.py @@ -31,7 +31,7 @@ class PostgresConfig: GAUGE = AgentCheck.gauge MONOTONIC = AgentCheck.monotonic_count - def __init__(self, instance, init_config, check): + def __init__(self, instance, init_config, check={'warning': print}): self.host = instance.get('host', '') if not self.host: raise ConfigurationError('Specify a Postgres host to connect to.')