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

Don't auto-include pod labels as loki labels as a sane default #3390

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

wardbekker
Copy link
Member

What this PR does / why we need it:
Don't auto-include pod labels as loki labels as a sane default. Folks regularly run into stream limits when they have a bunch of labels on their pods, so better to remove this to get them a nicer first onboarding experience.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

Don't auto-include pod labels as loki labels as a sane default. Folks regularly run into stream limits when they have a bunch of labels on their pods, so better to remove this to get them a nicer first onboarding experience.
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

I'm OK with this. Not sure if everyone is onboard.

@cyriltovena
Copy link
Contributor

I guess it should also be removed here => https://github.com/grafana/loki/blob/master/tools/promtail.sh#L104

/cc @slim-bean

Copy link
Member

@owen-d owen-d left a comment

Choose a reason for hiding this comment

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

Agreed. Thanks for this.

cc @slim-bean @cyriltovena

@owen-d owen-d merged commit e383472 into master Mar 9, 2021
@owen-d owen-d deleted the wardbekker-patch-1 branch March 9, 2021 14:32
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.

None yet

3 participants