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

Allow to pass step length in Loki connector #24862

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

jeschkies
Copy link
Member

@jeschkies jeschkies commented Jan 31, 2025

Description

The Loki API allows to pass the step length in seconds. This change updates the client and adds an optional STEP parameter to the query range table function.

This allows us to simplify the integration test as well.

Fixes #24861

@cla-bot cla-bot bot added the cla-signed label Jan 31, 2025
@github-actions github-actions bot added the loki Loki connector label Jan 31, 2025
@ebyhr
Copy link
Member

ebyhr commented Jan 31, 2025

"Allow to pass step length in Loki connector."

https://trino.io/development/process.html#pull-request-and-commit-guidelines-

Do not end the subject line with a period.

@jeschkies jeschkies force-pushed the karsten/loki-connector-step branch from ec58c8a to 6bbaa72 Compare February 3, 2025 17:05
@jeschkies jeschkies changed the title Allow to pass step length in Loki connector. Allow to pass step length in Loki connector Feb 3, 2025
@jeschkies jeschkies force-pushed the karsten/loki-connector-step branch from 6bbaa72 to 3221097 Compare February 3, 2025 17:25
@jeschkies jeschkies requested a review from ebyhr February 3, 2025 17:25
@ebyhr ebyhr force-pushed the karsten/loki-connector-step branch from 3221097 to c7cb42a Compare February 3, 2025 23:02
@ebyhr ebyhr added the no-release-notes This pull request does not require release notes entry label Feb 3, 2025
@ebyhr ebyhr merged commit 01d52f3 into trinodb:master Feb 3, 2025
15 checks passed
@github-actions github-actions bot added this to the 470 milestone Feb 3, 2025
@jeschkies jeschkies deleted the karsten/loki-connector-step branch February 4, 2025 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed loki Loki connector no-release-notes This pull request does not require release notes entry
Development

Successfully merging this pull request may close these issues.

The step query parameter should be configurable. This requires a change in the Loki java client first.
2 participants