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 DateTime values in metrics aggregations #29

Merged
merged 8 commits into from
May 8, 2024

Conversation

trzysiek
Copy link
Member

@trzysiek trzysiek commented May 3, 2024

max, min, and percentiles aggregations need separate handling for DateTime fields, the response is slightly different. Added that + 3 tests, one for each.
Before: percentiles didn't work at all, min/max - a bit.
Screenshot 2024-05-07 at 20 05 01
Screenshot 2024-05-07 at 20 04 23
After:
Screenshot 2024-05-07 at 20 35 11

Screenshot 2024-05-07 at 20 01 34 Screenshot 2024-05-07 at 20 01 45

@trzysiek trzysiek force-pushed the fix-datetime-metrics-aggr branch 7 times, most recently from cac3a27 to f0558ad Compare May 7, 2024 18:02
@trzysiek trzysiek marked this pull request as ready for review May 7, 2024 18:36
@trzysiek trzysiek requested a review from a team as a code owner May 7, 2024 18:36
@trzysiek trzysiek requested review from nablaone, jakozaur, mieciu, pivovarit and pdelewski and removed request for a team May 7, 2024 18:36
@trzysiek trzysiek enabled auto-merge (squash) May 7, 2024 18:36
@trzysiek trzysiek force-pushed the fix-datetime-metrics-aggr branch from f0558ad to f9ae67d Compare May 8, 2024 09:48
@trzysiek trzysiek force-pushed the fix-datetime-metrics-aggr branch from e43f344 to 6234283 Compare May 8, 2024 10:01
@trzysiek trzysiek merged commit 7bc45ec into main May 8, 2024
4 checks passed
@trzysiek trzysiek deleted the fix-datetime-metrics-aggr branch May 8, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants