Skip to content

refactor(supportability): expose LokiClient for external reuse#928

Merged
tiagolobocastro merged 1 commit into
openebs:developfrom
rohan2794:expose-loki-client
Jul 13, 2026
Merged

refactor(supportability): expose LokiClient for external reuse#928
tiagolobocastro merged 1 commit into
openebs:developfrom
rohan2794:expose-loki-client

Conversation

@rohan2794

Copy link
Copy Markdown

Make LokiClient and LokiError pub, add fetch_lines() for callers that need a Vec rather than file output, and add with_logql_filters() and with_page_size() builder methods.
No behaviour change to existing fetch_and_dump_logs path.

@rohan2794 rohan2794 requested a review from a team as a code owner July 8, 2026 12:47
@mergify

mergify Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@rohan2794 rohan2794 force-pushed the expose-loki-client branch from aff975d to 1af0a4d Compare July 9, 2026 05:12
Comment thread k8s/supportability/src/collect/logs/loki.rs Outdated
Comment thread k8s/supportability/src/collect/logs/loki.rs
Comment thread k8s/supportability/src/collect/logs/loki.rs Outdated
Comment thread k8s/supportability/src/collect/logs/loki.rs
Comment thread k8s/supportability/src/collect/logs/loki.rs Outdated
@rohan2794 rohan2794 force-pushed the expose-loki-client branch 2 times, most recently from c747816 to cca579b Compare July 13, 2026 08:48
Comment thread k8s/supportability/src/collect/logs/loki.rs Outdated
Comment thread k8s/supportability/src/collect/logs/loki.rs Outdated
@rohan2794 rohan2794 force-pushed the expose-loki-client branch from cca579b to 72eac9f Compare July 13, 2026 13:02
Make LokiClient and LokiError pub, add fetch_lines() for callers that
need a Vec<String> rather than file output, and add with_logql_filters()
and with_page_size() builder methods. No behaviour change to existing
fetch_and_dump_logs path.

Signed-off-by: rohan2794 <rohan2794@gmial.com>
@rohan2794 rohan2794 force-pushed the expose-loki-client branch from 72eac9f to 3c9ce46 Compare July 13, 2026 13:16
@abhilashshetty04

Copy link
Copy Markdown
Member

bors merge

bors-openebs-mayastor Bot pushed a commit that referenced this pull request Jul 13, 2026
928: refactor(supportability): expose LokiClient for external reuse r=abhilashshetty04 a=rohan2794

Make LokiClient and LokiError pub, add fetch_lines() for callers that need a Vec<String> rather than file output, and add with_logql_filters() and with_page_size() builder methods. 
No behaviour change to existing fetch_and_dump_logs path.


Co-authored-by: rohan2794 <rohan2794@gmial.com>
@bors-openebs-mayastor

Copy link
Copy Markdown
Contributor

This PR was included in a batch that successfully built, but then failed to merge into develop. It will not be retried.

Additional information:

Response status code: 422
{"message":"Repository rule violations found\n\nChanges must be made through the merge queue\n\n","documentation_url":"https://docs.github.com/rest/git/refs#update-a-reference","status":"422"}

@tiagolobocastro tiagolobocastro added this pull request to the merge queue Jul 13, 2026
Merged via the queue into openebs:develop with commit b078485 Jul 13, 2026
14 of 15 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

Development

Successfully merging this pull request may close these issues.

4 participants