Skip to content

adzerk-oss/S3DatadogLambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 event to Datadog Lambda Function

This Boot project builds instances of a node.js Lambda function for sending S3 events to Datadog.

Usage

Create an instance of the function:

boot build -k DATADOG_API_KEY -a DATADOG_APP_KEY -n somename
  • DATADOG_API_KEY is the Datadog API key for the account.
  • DATADOG_APP_KEY is a key identifying this particular application.
  • somename is the name of the metric to report. created and removed metrics are reported for every S3 event. The metrics for this application instance will be:
    1. s3lambda.somename.created
    2. s3lambda.somename.created.bytes
    3. s3lambda.somename.removed

Then, deploy the zip file in target/ to Amazon.

Finally, in the S3 interface, wire events to the deployed lambda function.

About

Pipe S3 activity into Datadog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published