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

[CORE-2189] Add dynamic log pages #9898

Merged
merged 41 commits into from Apr 15, 2024
Merged

Conversation

robert-uhl
Copy link
Contributor

This adapts code from Loki’s logcli. Note that this version of logcli was made available under the Apache License 2.0.

Note that this version of logcli was made available under the Apache
License 2.0.
Copy link

codecov bot commented Mar 28, 2024

Codecov Report

Attention: Patch coverage is 61.20219% with 71 lines in your changes are missing coverage. Please review.

Project coverage is 58.26%. Comparing base (1e428d5) to head (2e3ffa4).

Files Patch % Lines
src/server/logs/cmds/cmds.go 0.00% 31 Missing ⚠️
src/server/logs/logs.go 70.00% 21 Missing ⚠️
src/server/logs/query.go 78.94% 16 Missing ⚠️
src/server/logs/server/api_server.go 50.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9898      +/-   ##
==========================================
+ Coverage   58.16%   58.26%   +0.09%     
==========================================
  Files         611      612       +1     
  Lines       74543    74685     +142     
==========================================
+ Hits        43359    43515     +156     
+ Misses      30639    30623      -16     
- Partials      545      547       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

A quick search through our commands didn’t turn up any existing time flags.
Seems more idiomatic to me.
Due to looking for the previous log dynamically, one will not be found
if it does not exist.
Retry invalid batch size once, and use constants rather than magic
strings for log direction.
…m/pachyderm into rau/core-2189-dynamic-log-pages
@robert-uhl robert-uhl marked this pull request as ready for review April 2, 2024 12:45
@robert-uhl robert-uhl requested a review from zmajeed April 2, 2024 18:04
@robert-uhl
Copy link
Contributor Author

robert-uhl commented Apr 12, 2024

The Apache-2.0–licensed code used in this PR ultimately comes from Loki commit 6e67d1e via Loki commit 3c78579; we have a previously-approved use of Loki commit 6e67d1e via Loki commit a9d85de

Copy link
Member

@jdoliner jdoliner left a comment

Choose a reason for hiding this comment

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

LGTM

@robert-uhl robert-uhl merged commit de0cfca into master Apr 15, 2024
21 checks passed
@robert-uhl robert-uhl deleted the rau/core-2189-dynamic-log-pages branch April 15, 2024 11:55
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.

None yet

3 participants