DataDog / datadog-lambda-python

The Datadog AWS Lambda Layer for Python
https://docs.datadoghq.com/integrations/amazon_lambda/#installing-and-using-the-datadog-layer
Apache License 2.0
84 stars 45 forks source link

Handle datetime parameter for historical custom metrics submitted to the API #509

Closed DylanLovesCoffee closed 1 month ago

DylanLovesCoffee commented 2 months ago

What does this PR do?

We should allow datetime parameters passed to lambda_metric() when using ThreadStats

Motivation

Came up in support issue where a type error was raised

Testing Guidelines

Unit test

Additional Notes

Types of Changes

Check all that apply