We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 427a2e6 commit b8017bdCopy full SHA for b8017bd
datadog/threadstats/aws_lambda.py
@@ -33,6 +33,7 @@ def _enter(cls):
33
if not cls._was_initialized:
34
cls._was_initialized = True
35
api._api_key = os.environ.get('DATADOG_API_KEY')
36
+ api._api_host = os.environ.get('DATADOG_HOST', 'https://api.datadoghq.com')
37
cls._counter = cls._counter + 1
38
39
@classmethod
0 commit comments