currently it is only possible to use event values (like namespace) in the layout of a Loki body, it would be very nice to be able to use the event data (link kind, namespace, etc.) in the streamLabels.
I am not familiar with Go, nor do i know how to test this, therefore i did not make a PR.
But looking at the code:
Might this be the addition we are looking for?
currently it is only possible to use event values (like namespace) in the layout of a Loki body, it would be very nice to be able to use the event data (link kind, namespace, etc.) in the streamLabels.
I am not familiar with Go, nor do i know how to test this, therefore i did not make a PR.
But looking at the code: Might this be the addition we are looking for?
In
pkg/sinks/loki.go
, change:into
Could you consider this improvement?