Closed yogeek closed 1 year ago
UPDATE : in fact, after some tests, I discovered that the minimal configuration above works well for the corresponding dashboard
receivers:
- name: "loki"
loki:
url: http://loki-gateway.loki.svc.cluster.local/loki/api/v1/push
streamLabels:
source: event-exporter
container: event-exporter
In Loki receiver configuration, it does not seem possible to use templated values for stream labels like in other sinks.
For example, in Slack sink we can use the templated fields
{{ .xxx }}
:I tested this config with Loki sink but the
{{ .xxx}}
part is not rendered before sending to loki :Is it possible to add some of the event fields like the namespace as loki labels please ?