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
[CORE-2256] Fix hint return and display #9968
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9968 +/- ##
==========================================
+ Coverage 58.28% 58.30% +0.02%
==========================================
Files 614 614
Lines 75593 75610 +17
==========================================
+ Hits 44060 44088 +28
+ Misses 30980 30964 -16
- Partials 553 558 +5 ☔ View full report in Codecov by Sentry. |
This will be used in the case of multiple logs at the same timestamp.
…erm/pachyderm into rau/core-2256-debug-improve-hints
And fix a bug.
Working through each possibility individually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As explained on Slack, I don't think we need this feature. The chances of having a lot of lines with the same timestamp is pretty much zero, and even then, you still can't get duplicate-timestamped lines that exceed the loki server's limit. I'd just let it be.
You should keep the changes that let you ingest old samples. I'd expect some existing tests to be failing if they can't, though.
TY for implementing these fixes! |
…erm/pachyderm into rau/core-2256-debug-improve-hints
With just
This is also true; it’s a limitation of Loki which cannot be worked around (I’m pretty sure). I share your concern regarding the amount of complexity this adds, but I think that it’s necessary, and hope that the extensive test coverage provides some level of protection from implementation bugs. It’d be great if Loki guaranteed unique timestamps, or if we didn’t rely on it, but I believe that this is the least bad solution. |
Reworked paging and hints. Added a plethora of tests against a testing Loki instance. Worked with @pleeko to test expected vs. actual results.
Reworked paging and hints. Added a plethora of tests against a testing Loki instance. Worked with @pleeko to test expected vs. actual results.