DataDog / datadogpy

The Datadog Python library
https://datadoghq.com/
Other
605 stars 303 forks source link

Support passing Unix timestamps to dogstatsd #831

Closed carlosroman closed 1 month ago

carlosroman commented 2 months ago

What does this PR do?

Following v1.3 protocol, allow passing timestamps along with the metric, which can mitigate the load on the agent when emitting a lot of metrics in a short time span.

Description of the Change

Adds gauge_with_timestamp and count_with_timestamp to allow for passing metrics with timestamps. Also added count method which other clients have so that our clients all have similar methods.

Alternate Designs

Possible Drawbacks

Verification Process

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)

carlosroman commented 1 month ago

/merge

dd-devflow[bot] commented 1 month ago

:steam_locomotive: MergeQueue

Pull request added to the queue.

This build is going to start soon! (estimated merge in less than 0s)

Use /merge -c to cancel this operation!

dd-devflow[bot] commented 1 month ago

:rotating_light: MergeQueue

Gitlab pipeline didn't start on its own and we were unable to create it... Please retry.

If you need support, contact us on Slack #devflow with those details!

carlosroman commented 1 month ago

/merge

dd-devflow[bot] commented 1 month ago

:steam_locomotive: MergeQueue

Pull request added to the queue.

This build is going to start soon! (estimated merge in less than 0s)

Use /merge -c to cancel this operation!

dd-devflow[bot] commented 1 month ago

:rotating_light: MergeQueue

Gitlab pipeline didn't start on its own and we were unable to create it... Please retry.

If you need support, contact us on Slack #devflow with those details!

carlosroman commented 1 month ago

/merge

dd-devflow[bot] commented 1 month ago

:steam_locomotive: MergeQueue

Pull request added to the queue.

This build is going to start soon! (estimated merge in less than 0s)

Use /merge -c to cancel this operation!

dd-devflow[bot] commented 1 month ago

:rotating_light: MergeQueue

There was an unexpected error while creating the working branch

This could indicate that something doesn't work properly with the build system or that this one has reached its maximum capacity. You can try to wait a bit and then re-add your pull request to the queue!

Details child workflow execution error (type: mergequeue_private.MergeQueue_BuildWorkingBranch, workflowID: c26f1b50-9a2c-493b-aa0d-b5854ec3bdee_39, runID: 4d8f467f-d452-45f7-8a74-4c633fc273c2, initiatedEventID: 39, startedEventID: 40): Child workflow timeout (type: StartToClose)

If you need support, contact us on Slack #devflow with those details!

carlosroman commented 1 month ago

/merge

dd-devflow[bot] commented 1 month ago

:steam_locomotive: MergeQueue

Pull request added to the queue.

This build is going to start soon! (estimated merge in less than 0s)

Use /merge -c to cancel this operation!

dd-devflow[bot] commented 1 month ago

:rotating_light: MergeQueue

Gitlab pipeline didn't start on its own and we were unable to create it... Please retry.

If you need support, contact us on Slack #devflow with those details!

carlosroman commented 1 month ago

/merge

dd-devflow[bot] commented 1 month ago

:steam_locomotive: MergeQueue

Pull request added to the queue.

This build is going to start soon! (estimated merge in less than 0s)

Use /merge -c to cancel this operation!

dd-devflow[bot] commented 1 month ago

:rotating_light: MergeQueue

There was an unexpected error while creating the working branch

This could indicate that something doesn't work properly with the build system or that this one has reached its maximum capacity. You can try to wait a bit and then re-add your pull request to the queue!

Details child workflow execution error (type: mergequeue_private.MergeQueue_BuildWorkingBranch, workflowID: 7c0fa5e8-8ba8-415f-83b2-de8437385968_39, runID: b470ac72-d453-4a4d-bbed-cfa0624e8b2f, initiatedEventID: 39, startedEventID: 40): Child workflow timeout (type: StartToClose)

If you need support, contact us on Slack #devflow with those details!