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

Loki Sink supports setting max live time of persistent connection #22022

Open
tiantangkuohai opened this issue Dec 12, 2024 · 1 comment
Open
Labels
sink: loki Anything `loki` sink related type: feature A value-adding code addition that introduce new functionality.

Comments

@tiantangkuohai
Copy link

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

We have a K8s cluster running Vector and Loki cluster. We found that when Loki distributor scales out, the new instances got only a few traffic compared to old ones. It looks like Vector Loki Sink use consistent connection to write log to Loki.

Attempted Solutions

We tried to use Nginx reverse proxy between Vector and Loki, it did balance the traffic but it also doubled write latency.

Proposal

Vector support setting max connection live, it can natively support load balance.

References

No response

Version

0.42.0

@tiantangkuohai tiantangkuohai added the type: feature A value-adding code addition that introduce new functionality. label Dec 12, 2024
@jszwedko jszwedko added the sink: loki Anything `loki` sink related label Dec 12, 2024
@jszwedko
Copy link
Member

Related issue for the Vector sink: #10728

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sink: loki Anything `loki` sink related type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants