We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c965e9b commit 1f00438Copy full SHA for 1f00438
aws_lambda_powertools/metrics/provider/datadog/datadog.py
@@ -66,6 +66,7 @@ def __init__(
66
)
67
self.default_tags = default_tags or {}
68
self.flush_to_log = resolve_env_var_choice(choice=flush_to_log, env=os.getenv(constants.DATADOG_FLUSH_TO_LOG))
69
+ # When set as env var, the value is a string
70
if isinstance(self.flush_to_log, str):
71
self.flush_to_log = strtobool(self.flush_to_log)
72
0 commit comments