- Sets the default of the
addExtension
option to true (#233).
ACTIONS MAY BE REQUIRED:
If addExtension
is already defined in the serverless.yml, no actions are required and you can stop reading.
If you wish to continue using the Datadog Forwarder that you defined in forwarderArn
to collect Lambda telemetry, set addExtension: false
in your serverless.yml and you can stop reading.
If you'd like to adopt the Datadog Lambda extension to collect Lambda telemetry (recommended). The new version defaults addExtension
to true
, which automatically adds the Datadog Lambda Extension to your functions.
- You must set
apiKey
andsite
in the serverless.yml or as environment variables. More information on these options and how to set them can be found here. - You may need to keep
forwarderArn
defined if you are collecting logs from API Gateways (subscribeToApiGatewayLogs
,subscribeToHttpApiLogs
, orsubscribeToWebsocketLogs
is set totrue
). When using the Datadog Forwarder and Extension together, the Extension will be responsible for sending the Lambda telemetry, while the Forwarder collects logs from non-Lambda resources.