Expected Behavior
We would expect the metrics to show up with the timestamp that was passed in to MetricWithTimestamp function.
Actual Behavior
When the statdsclient is used to send metrics to Datadog, we see that the timestamp is being ignored and the current time is used instead. See here.
Steps to Reproduce the Problem
- Send Distribution metric to datadog through the datadog lambda extension using the
MetricWithTimestamp function.
Specifications
- Datadog Go Lambda package version: v1.22.0
- Go version: 1.23.12
- Lambda extension version: 58