Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for batching by time params #1412

Conversation

kgeckhart
Copy link
Contributor

This PR introduces the ability to batch the GetMetricData requests by the params which directly influence StartTime and EndTime vs allowing them to vary per request batch. This is a backwards incompatible change which removes the usage of the config rounding period.

Resolves #1290

Comment on lines -60 to -66
type JobLevelMetricFields struct {
Statistics []string
Period int64
Length int64
Delay int64
NilToZero *bool
AddCloudwatchTimestamp *bool
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these fields are pushed down to the metric level and were no longer referenced

Copy link
Collaborator

@cristiangreco cristiangreco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!!!

@cristiangreco cristiangreco merged commit 9505714 into nerdswords:master May 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants