Skip to content

v49

Compare
Choose a tag to compare
@zARODz11z zARODz11z released this 21 Sep 20:53
· 275 commits to main since this release
ad34bcf

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

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"