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

Aligned data pulls to calendar days #13020

Merged
merged 3 commits into from
Mar 12, 2025
Merged

Conversation

3kt
Copy link
Contributor

@3kt 3kt commented Mar 7, 2025

In the previous implementation of the integration, the billing data was pulled with an offset starting when the integration is first run. This had the side effect of aligning days to whatever current time it was at installation.
IE instead of pulling from 00:00 to 23:59, it could be from 11:00 to 10:59 for instance.

This fixes this behavior, while also changing the lookbehind behavior: it used to be a count of hours, whereas it is now a count of days.

@3kt 3kt added the enhancement New feature or request label Mar 7, 2025
@elasticmachine
Copy link

💚 Build Succeeded

History

@3kt 3kt marked this pull request as ready for review March 11, 2025 23:35
@3kt 3kt requested a review from a team as a code owner March 11, 2025 23:35
Copy link

@VimCommando VimCommando left a comment

Choose a reason for hiding this comment

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

LGTM

@3kt 3kt merged commit 267d5a8 into elastic:main Mar 12, 2025
7 checks passed
@3kt 3kt deleted the calendar_billing_pulls branch March 12, 2025 00:34
@elastic-vault-github-plugin-prod

Package ess_billing - 1.3.0 containing this change is available at https://epr.elastic.co/package/ess_billing/1.3.0/

@andrewkroh andrewkroh added the Integration:ess_billing Elasticsearch Service Billing (Community supported) label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:ess_billing Elasticsearch Service Billing (Community supported)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants