[BUG] timestamp parameter gets overwritten with execution time on lambda_metric
#398
Labels
enhancement
New feature or request
lambda_metric
#398
Expected Behavior
When I pass
timestamp
parameter todatadog_lambda.metric.lambda_metric
function, the x-axis (time) of that metric on the monitor should reflect that value passed.Actual Behavior
The value reflected is the time where the function gets called
Steps to Reproduce the Problem
I am leaving out authentication details as those are handled via env variables on the lambda.
The code is running on a docker-based lambda. I've passed the timestamp as milliseconds since the epoch, and also as seconds, and none of them seem to affect the x-axis of the monitor.
I am also aware of the following restrictions:
Source
I have also seen that this other issue on the JS API mentions that this functionality is available on Python API.
Specifications
Let me know if you need me to provide more code or the Dockerfile. Thanks in advance.
The text was updated successfully, but these errors were encountered: