Skip to content

Commit a253fad

Browse files
authored
Merge pull request #23 from DataDog/stephenf/update-readme-for-enhanced-metrics
Update README to include DD_ENHANCED_METRICS
2 parents 63bd818 + b40bf29 commit a253fad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The Datadog API must be defined as an environment variable via [AWS CLI](https:/
3636
You can also supply or override the API key at runtime:
3737

3838
```python
39-
# Override DD API Key after importing datadog_lambda packages
39+
# Override DD API Key after importing datadog_lambda packages
4040
from datadog import api
4141
api._api_key = "MY_API_KEY"
4242
```
@@ -57,6 +57,10 @@ To debug the Datadog Lambda Layer, set the environment variable below to `DEBUG`
5757

5858
- DD_LOG_LEVEL
5959

60+
To increment `aws.lambda.enhanced.invocations` and `aws.lambda.enhanced.errors` Datadog Lambda integration metrics set this environment variable to `true`:
61+
62+
- DD_ENHANCED_METRICS
63+
6064
### The Serverless Framework
6165

6266
If your Lambda function is deployed using the Serverless Framework, refer to this sample `serverless.yml`.

0 commit comments

Comments
 (0)