Releases: DataDog/datadog-lambda-extension
v59
🚨 There is a known issue with this version. We recommend using another version as we continue to investigate.
Agent Tag
Agent Version: 7.54.1
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:59
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension-ARM:59
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension:59
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension-ARM:59
What's Changed
🔔 This version was release off of the main branch, unlike previous releases where commits are cherry-picked. Below are Serverless specific changes:
-
feat(serverless): send bottlecap failover metric DataDog/datadog-agent@a0f8078
-
[SVLS-4912] Generate CPU utilization metrics DataDog/datadog-agent@827a81b
-
[serverless-build-workflow] Compare with merge-base instead of just base ref DataDog/datadog-agent@b950f74
-
[SVLS-4936] Add lambda network enhanced metrics DataDog/datadog-agent@1cfabef
-
[SVLS-4640][serverless] Fix dropped logs in AWS Lambda DataDog/datadog-agent@7e6dc75
-
[Serverless] Maintain serverless PR comments independently. DataDog/datadog-agent@4683873
-
[Serverless] Post binary size change when serverless deps file changes. DataDog/datadog-agent@f0722c6
-
Move serverless vuln scan to extension repo. DataDog/datadog-agent@41f10b8
-
[SVLS-3697] Fix missing post runtime duration metrics and log values after a shutdown DataDog/datadog-agent@6e4f4f8
-
Serverless Agent supports
stream-logs
DataDog/datadog-agent@4660cce
v58
Agent Tag
Agent Version: 7.54.0
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:58
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension-ARM:58
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension:58
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension-ARM:58
What's Changed
🔔 This version was release off of the main branch, unlike previous releases where commits are cherry-picked. Below are Serverless specific changes:
-
Enable to set the buffering config of Lambda Logs API via env vars DataDog/datadog-agent@1eb4f52
-
[Serverless] Reuse DD_ENHANCED_METRICS for new system enhanced metrics DataDog/datadog-agent@62532f6
-
Improve logging in the Lambda Logs API handler DataDog/datadog-agent@e5b69ff
-
[SVLS-4850] Generate lambda enhanced CPU system, user, and total metrics DataDog/datadog-agent@fa5ba1b
-
[SVLS] Mark serverless unit test TestLoadConfigShouldBeFast as flaky DataDog/datadog-agent@ebe363c
-
Set _dd.p.dm trace field to null in Serverless Integration Tests Snapshots DataDog/datadog-agent@f20521b
-
[ASCII-1218] Only initialize needed configs for serverless DataDog/datadog-agent@09161cd
-
[SVLS-4563] Adds provided.al2023 as a runtime tag DataDog/datadog-agent@3b65821
-
[SVLS] Add AWS Account Id Fields to Credit Card Obfuscation Exclusion DataDog/datadog-agent@527cc4f
v57
Agent Tag
Agent Version: 7.53.0
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:57
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension-ARM:57
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension:57
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension-ARM:57
What's Changed
-
[SVLS-4142] Create a cold start span only when a cold start has not already occurred DataDog/datadog-agent@83daf1c
-
[SVLS-4142] Create a Lambda span on timeouts DataDog/datadog-agent@1f33b61
v56
Agent Tag
Agent Version: 7.52.1
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:56
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension-ARM:56
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension:56
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension-ARM:56
What's Changed
🔔 This version was release off of the main branch, unlike previous releases where commits are cherry-picked. Below are Serverless specific changes:
-
[SVLS-4646] Update Serverless Integration Tests Retry Job DataDog/datadog-agent@3f1c28b
-
Fix log level for http destination DataDog/datadog-agent@933505f
-
[SVLS-4630] Update Serverless Integration Tests to only run on Pull Requests DataDog/datadog-agent@ab60cf8
-
[SVLS-4646] Prevent Flaky Serverless AppSec Integration Tests DataDog/datadog-agent@b057e0b
-
[SVLS-4614] filter out AWS_XRAY_DAEMON_ADDRESS dns.lookup traces DataDog/datadog-agent@770c3d5
-
[SVLS-4629] Reduce Flakiness of Cold Start Performance Integration Test DataDog/datadog-agent@9e93528
-
bump
gopkg.in/DataDog/dd-trace-go.v1
to v1.61.0 DataDog/datadog-agent@4bb6481 -
fix serverless integration tests artifact names DataDog/datadog-agent@e7497a0
-
Bump docker/setup-qemu-action from 2 to 3 DataDog/datadog-agent@559554a
-
Bump docker/setup-buildx-action from 2 to 3 DataDog/datadog-agent@b3092e7
-
Bump actions/upload-artifact from 3 to 4 DataDog/datadog-agent@f1a15cb
-
[SVLS] Update list of known env vars for AWS Lambda Extension and AAS Windows Extensions DataDog/datadog-agent@414a7e7
-
[Serverless] remove h2non dependency DataDog/datadog-agent@c5b8ed9
-
SLVS-3835 [serverless-init] Compute trace stats in serverless-init DataDog/datadog-agent@9507b46
-
[SLVS-4017][serverless-init] Fix incorrect
_dd.origin
tag for Azure + GCP serverless services DataDog/datadog-agent@eba2b7b -
fix(serverless benchmarks): incorrect use of GH artifact names DataDog/datadog-agent@41f9e69
-
fix(pkg/serverless/daemon): reduce memory consumption in benchmark DataDog/datadog-agent@fb340c4
-
[Serverless] Upgrade from deprecated nodejs14.x DataDog/datadog-agent@a980ec3
-
trace-agent: get rid of the statsd singleton DataDog/datadog-agent@8b6bddc
-
[SVLS-4030] Make retryable logs debug, but add warn with fatal error DataDog/datadog-agent@2398327
v55
Agent Tag
Agent Version: 7.50.3
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:55
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension-ARM:55
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension:55
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension-ARM:55
What's Changed
🔔 This version was release off of the main branch, unlike previous releases where commits are cherry-picked. Below are Serverless specific changes:
- Run serverless integration tests every morning (US-East timezone) DataDog/datadog-agent@ab57d36
- [ASCII-1081] Always calls app.Stop even in case of error. DataDog/datadog-agent@3cfd999
v53
Agent Tag
Agent Version: 7.50.3
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:53
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension-ARM:53
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension:53
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension-ARM:53
What's Changed
- [Serverless] Fix tagging in Azure Function App traces DataDog/datadog-agent@dbf5850
- Replace builtin encoding/json with the faster github.com/json-iterator/go DataDog/datadog-agent@0a22398
- [ASCII-985][Component] Reduce the usage of aggregator package in favour of comp/aggregator/demultiplexer DataDog/datadog-agent@dd71aa0
- Always create REPORT log message when logs enabled. DataDog/datadog-agent@900a2d6
- serverless: appsec: send aws.lambda.enhanced.asm.invocations metric DataDog/datadog-agent@043c9ac
- serverless/appsec: fix handling of ALB headers & query string DataDog/datadog-agent@9f212be
- register the extension even when an API key fails DataDog/datadog-agent@ef45b81
v52
Agent Tag
Agent Version: 7.50.0
What's Changed
- [Serverless] Support trace context extraction from SNS events. DataDog/datadog-agent@bba6924
- [Serverless] Use custom aws event types to speed up json unmarshalling. DataDog/datadog-agent@ed531ba
- appsec: update go-libddwaf to v2.2.2 DataDog/datadog-agent@5393484
- pkg/remoteconfig: add api security to asm features config DataDog/datadog-agent@c1dd16b
- [Serverless] Call process trace only once per invocation DataDog/datadog-agent@96566ff
- [Serverless] Make educated first guess when getting event type. DataDog/datadog-agent@eb0a721
- [Serverless] Allow serverless proxy settings to be read from datadog.yaml and env vars DataDog/datadog-agent@dcae603
- [Serverless] Updates serverless to use fxutil.OneShot DataDog/datadog-agent@547e69f
- [Serverless] Updates serverless-init to use fxutil.OneShot DataDog/datadog-agent@d16c386
- serverless: add http.route tag when available DataDog/datadog-agent@315c38f
- serverless/appsec: API Security DataDog/datadog-agent@8a72f58
v51
Agent Tag
Agent Version: 7.49.0
What's Changed
- [Serverless] Update dd-trace-go version. DataDog/datadog-agent@7b70a4b
- Bump dependency versions to address CVE-2023-47108. DataDog/datadog-agent@d70c7e6
- [Serverless] Fix Proxy Setting Handling from datadog.yaml DataDog/datadog-agent@342f3a4
- SVLS-4171: Enable DD_LOCAL_TEST only by explicitly checking for true or 1 DataDog/datadog-agent@f0837aa
- [SVLS-3102] Send logs and metrics from the Lambda Extension to Vector/OPW DataDog/datadog-agent@58c43ba
- Fix a flaky test DataDog/datadog-agent@28c8b70
- serverless: API Gateway through Kong event detection DataDog/datadog-agent@f952749
- [Serverless] Use Extractor to determine trace context [SVLS-3935] DataDog/datadog-agent@94bf73e
- [Serverless] Type for extracting trace context from various event types [SVLS-3934]. DataDog/datadog-agent@c62c475
- Fix string interpolation in log message. DataDog/datadog-agent@465491a
v50
Agent Tag
Agent Version: 7.49.0
What's Changed
🔔 This version was release off of the main
branch, unlike previous releases where commits are cherry-picked. Below are Serverless specific changes:
- [serverless] basic fix for function url events in DataDog/datadog-agent#20513
- Fix metric aggregation in serverless-init in DataDog/datadog-agent#20507
- serverless/appsec: ASM standalone mode in DataDog/datadog-agent#19314
- [SVLS-579] Add span error metadata to the Lambda execution span in DataDog/datadog-agent#20235
- Disable remote configuration in the lambda extension in DataDog/datadog-agent#20309
- [Serverless] fix the raw-message-delivery case in DataDog/datadog-agent#19888
- cmd/serverless: move to github.com/aws/aws-sdk-go-v2 in DataDog/datadog-agent#20221
- [Serverless] Fix KMS key detection in DataDog/datadog-agent#20382
- [Serverless] Refactor methods to LifecycleProcessor [SVLS-3934] in DataDog/datadog-agent#20310
- [Serverless] Change the default serverless.trace_enabled to true in DataDog/datadog-agent#20203
- [Serverless][SLES-1351] Fix local test env var in DataDog/datadog-agent#20171
- Sls 3243 add circuit breaker backoff to retries from the extension in DataDog/datadog-agent#19292
- serverless/appsec/httpsec: support base64 encoded request body in DataDog/datadog-agent#19935
- feat(serverless): process API Gateway Lambda Authorizer payloads in DataDog/datadog-agent#20017
- CloudWatchEvent resources can potentially be empty in DataDog/datadog-agent#19850
- pkg/obfuscate: redact entire memcached command by default in DataDog/datadog-agent#19725
- Make jsonObfuscator concurrency-safe by internal state isolation in DataDog/datadog-agent#19643
- feat(serverless/appsec/httpsec): support additional body types in DataDog/datadog-agent#19654
- bump github.com/DataDog/go-libddwaf to v1.5.0 in DataDog/datadog-agent#19413
v49
Agent Tag
Agent Version: 7.47.1
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:49
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension-ARM:49
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension:49
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension-ARM:49
What's Changed
-
[Serverless] Capture lambda payload as tags DataDog/datadog-agent@41c79e6
-
pkg/trace/agent: Replace Tags now acts on 'metrics' tags DataDog/datadog-agent@d6cfec4
-
pkg/trace: ensure the sql.query tag always contains the obfuscated value DataDog/datadog-agent@3d4cf32
-
pkg/serverless: set context.Canceled errors log priority to Debug DataDog/datadog-agent@c1314c5
-
[serverless] Fix flaky logs_collector unit test DataDog/datadog-agent@d8d93b3
Upgrading
The following snippet illustrates the tag structure introduced in v49 of the Datadog Extension for affected runtimes (Java, Go, .NET):
{
"function.request.headers.fieldA": "foo",
"function.request.headers.fieldB": "bar",
}
If you are using one of these runtimes, you may need to update your DD_APM_REPLACE_TAGS
configuration to comply with this new tag structure. For example, in versions prior to v49, you could replace all instances of foo
with bar
in the following manner:
Before: Replace all instances of 'foo' in lambda request tag
# Replace all instances of 'foo' in lambda request tag
- name: "function.request"
pattern: "foo"
repl: "bar"
With v49, you can replace all instances of foo
with bar
in the following manner:
After: Replace all instances of foo
in lambda request tag
# Replace all instances of 'foo' in lambda request tag fieldA
- name: "function.request.fieldA"
pattern: "foo"
repl: "bar"
# Replace all instances of 'foo' in lambda request tag fieldB
- name: "function.request.fieldB"
pattern: "foo"
repl: "bar"