Loki Sink supports setting max live time of persistent connection #22022
Labels
sink: loki
Anything `loki` sink related
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
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
The text was updated successfully, but these errors were encountered: