Closed agocs closed 4 years ago
This adds the Invocations and Errors enhanced metrics to the Ruby lambda layer.
To be done:
invocations
errors
DD_ENHANCED_METRICS
DD_FLUSH_TO_LOG
DD_SITE
Log output in the demo environment:
{"e":1580150180,"m":"aws.lambda.enhanced.invocations","t":["dd_lambda_layer:datadog-ruby25","functionname:hello-dog-ruby-dev-helloRuby25","region:us-east-1","account_id:172597598159","memorysize:128","cold_start:false","runtime:Ruby 2.5.7"],"v":1} {"e":1580150180,"m":"aws.lambda.enhanced.errors","t":["dd_lambda_layer:datadog-ruby25","functionname:hello-dog-ruby-dev-helloRuby25","region:us-east-1","account_id:172597598159","memorysize:128","cold_start:false","runtime:Ruby 2.5.7"],"v":1}
What does this PR do?
This adds the Invocations and Errors enhanced metrics to the Ruby lambda layer.
To be done:
invocations
anderrors
DD_ENHANCED_METRICS
DD_FLUSH_TO_LOG
(needed?)~DD_SITE
(needed?)~Testing Guidelines
Log output in the demo environment: