patrickjahns / ansible-role-loki-canary

🔧 Ansible role for deploying loki canary https://github.com/grafana/loki/blob/master/docs/operations/loki-canary.md
MIT License
2 stars 0 forks source link

Added workaround for canary to properly work when not deployed on kubernetes #2

Closed patrickjahns closed 4 years ago

patrickjahns commented 4 years ago

Motivation

Currently canary is hardcoded with the labels stdout - see: https://github.com/grafana/loki/issues/1435 When just relying on systemd/journal for publishing the messages from canary+promtail to loki, the field would not be correctly set, or unexpected entries would appear in the log file

Description