Closed tovbinm closed 6 months ago
You can do this using distribution metrics. In this doc, you'll want to replace the metric value with the duration you're looking to measure. https://docs.datadoghq.com/serverless/aws_lambda/metrics/?code-lang=nodejs#submit-custom-metrics-directly-from-a-lambda-function
Thanks. I will give it a try.
Is there a way to send time elapsed (e.g. timer metrics) using datadog-lambda-js ?