Skip to content

Commit 572bf22

Browse files
committed
Bump version to 0.12.0 and update changelog
1 parent a5e8a80 commit 572bf22

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
# Version 12 / 2020-02-03
4+
5+
- Defaults the DD_ENHANCED_METRICS option to `true`
6+
- If DD_ENHANCED_METRICS is enabled, always writes enhanced metrics to stdout
7+
- Note: if you previously had DD_ENHANCED_METRICS=true and did not set DD_FLUSH_TO_LOG=true, the enhanced metrics will no longer be submitted to Datadog synchonously; the metrics will now be written to logs. If you already have a Datadog Forwarder Lambda configured, that will read the enhanced metrics logs and submit the metrics asynchronously. If you do not have a Datadog Forwarder set up, you'll need to create one to get enhanced metrics into your Datadog account. See [Datadog Forwarder Lambda setup instructions](https://github.com/DataDog/datadog-serverless-functions/tree/master/aws/logs_monitoring).
8+
39
# Version 11 / 2019-12-06
410

511
- Add python 3.8 support

datadog_lambda/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# The minor version corresponds to the Lambda layer version.
22
# E.g.,, version 0.5.0 gets packaged into layer version 5.
3-
__version__ = '0.11.0'
3+
__version__ = "0.12.0"
44

55

66
import os
77
import logging
8+
89
logger = logging.getLogger(__name__)
9-
logger.setLevel(logging.getLevelName(os.environ.get('DD_LOG_LEVEL', 'INFO').upper()))
10+
logger.setLevel(logging.getLevelName(os.environ.get("DD_LOG_LEVEL", "INFO").upper()))

0 commit comments

Comments
 (0)