github DataDog/serverless-plugin-datadog v4.0.0

latest releases: v5.73.0, v5.72.0, v5.71.0...
2 years ago
  • 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 and site 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, or subscribeToWebsocketLogs is set to true). 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.

Don't miss a new serverless-plugin-datadog release

NewReleases is sending notifications on new releases.