From b67dafe396a7368716b89c66ff6e33c8ec281a2c Mon Sep 17 00:00:00 2001 From: Ryan Lanny Jenkins Date: Mon, 9 Nov 2020 13:27:43 -0600 Subject: [PATCH] Config had to be a kwarg, oops. --- src/ss_instrumentation/SSInstrumentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ss_instrumentation/SSInstrumentation.py b/src/ss_instrumentation/SSInstrumentation.py index 87e8b8b..5f19337 100644 --- a/src/ss_instrumentation/SSInstrumentation.py +++ b/src/ss_instrumentation/SSInstrumentation.py @@ -112,7 +112,7 @@ class SSInstrumentation(object): def __init__(self, config, storage=None): self.namespace = config['AWS_METRIC_NAMESPACE'] - self.client = boto3.client('cloudwatch', Config( + self.client = boto3.client('cloudwatch', config=Config( connect_timeout=3, read_timeout=3, retries={'max_attempts': 0},