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

Expose loki.porcess stages package for config conversions #4369

Merged
merged 4 commits into from
Jul 7, 2023

Conversation

thampiotr
Copy link
Contributor

PR Description

In order to implement promtail config conversions, we'll need to create loki.process stages, which are currently internal package.

We need to expose it in order to continue. As an alternative, we could write some conversion logic inside the process package, but it may not be a desired way to organise code.

@thampiotr thampiotr requested a review from tpaschalis July 7, 2023 11:00
@thampiotr thampiotr marked this pull request as ready for review July 7, 2023 11:00
@thampiotr thampiotr requested a review from a team as a code owner July 7, 2023 11:00
@tpaschalis
Copy link
Member

If we go ahead with this approach, we should also move the metrics package from under `loki/process/internal/, right?

Copy link
Member

@tpaschalis tpaschalis left a comment

Choose a reason for hiding this comment

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

After an offline sync, I'm approving this so we don't have to break the convention of where conversion-related code exists for now.

Once this is done however, I'd like to reconsider moving stuff behind an internal package; let's add a TODO comment here so that we don't forget to do that.

@tpaschalis tpaschalis merged commit 474fe21 into main Jul 7, 2023
6 checks passed
@tpaschalis tpaschalis deleted the thampiotr/expose-loki-process-stages branch July 7, 2023 12:46
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 23, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants