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

Revendor grafana/tail to fix promtail symlink behavior #6034

Merged
merged 3 commits into from
Apr 27, 2022

Conversation

DylanGuedes
Copy link
Contributor

What this PR does / why we need it:
Revendors grafana/tail to introduce a recent fix to how we tail symlinks. With the current implementation, promtail is only able to work with symlinks if they're in the same folder as the promtail binary; if they're inside a nested folder, tail is unable to find the files.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated
  • Is this an important fix or new feature? Add an entry in the CHANGELOG.md.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/upgrading/_index.md

- This revendoring brings the fix to relative symlinks, as described in
  grafana#3374.
@DylanGuedes DylanGuedes requested a review from a team as a code owner April 26, 2022 20:20
Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

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

LGTM

@slim-bean slim-bean merged commit 88c4781 into grafana:main Apr 27, 2022
@slim-bean
Copy link
Collaborator

@DylanGuedes sorry I didn't think about this until after clicking merge. Can you fire up another PR and put an entry in the change log for this in the promtail section?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Promtail not following symlinks as expected
2 participants