Repository navigation
Replies: 1 comment
|
Yes, you can carry the originating cluster with each event. Set it where the origin is known, before combining traffic from different clusters, and preserve it through the aggregator. For logs from a source dedicated to For metric events, the label belongs in Use the actual originating cluster name. A fixed assignment like this should only apply to that cluster's input; on a mixed input, preserve the existing per-event value instead. The Loki sink can take its label from the log field: labels:
cluster: "{{ cluster }}"I tested both event types through a Vector aggregator on 0.60.0. The two origin labels remained distinct in the outgoing Loki requests and Prometheus series. Could you share the relevant source, remap, and sink configuration, including where |
Uh oh!
There was an error while loading. Please reload this page.
hello there, i have a strange behavior using vector,
vector gets metrics and logs for external clusters and ship those metrics to prom and logs to loki, i've discovered that in this case for logs and metrics, the cluster label value is the one where vector lives and not the one where the data and originally from.
Is there anyway to change that behavior ?
All reactions