Releases: DataDog/datadog-lambda-extension
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"
v48
Agent Tag
Agent Version: 7.47.0
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:48
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension-ARM:48
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension:48
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension-ARM:48
What's Changed
- Fix missing tags on logs after a shutdown phase DataDog/datadog-agent#19119
- ASM: use appsec-internal-go for client IP headers DataDog/datadog-agent#18709
- Fix untagged custom metrics race DataDog/datadog-agent#19079
- Fix runtime duration and post runtime duration values DataDog/datadog-agent#18933
- Fix blocking on no-requestID logs channel DataDog/datadog-agent#18998
- Capture init failure logs DataDog/datadog-agent#18748
v47
Agent Tag
Agent Version: 7.46.0
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:47
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension-ARM:47
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension:47
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Extension-ARM:47
What's Changed
- [serverless] Fix incorrect cold_start tags on report generated enhanced metrics
- [serverless] Fix incorrect creation of a timeout log after a valid timeout
- ASM users for Go, Java and .NET functions now need to use the datadog_wrapper script:
AWS_LAMBDA_EXEC_WRAPPER=/opt/datadog_wrapper
. Not doing so should not cause any issue, but will result in ASM not monitoring the function: pkg/serverless/appsec: run as a runtime api proxy only