commit 65cd6b80032190843960fa3464c399e749b7e148
parent 92dff6851a80499801ee693012968335ffd9f6f2
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 1 Jun 2025 14:45:20 +0200
set tenant-ID to hostname so we see it as the ordID in the logs on loki
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/roles/monitoring/templates/etc/alloy/config.alloy b/roles/monitoring/templates/etc/alloy/config.alloy
@@ -8,6 +8,7 @@ logging {
loki.write "grafana_loki" {
endpoint {
url = "https://loki.taler-systems.com/loki/api/v1/push"
+ tenant_id = "{{ TARGET_HOST_NAME }}"
authorization {
type = "Bearer"
credentials = "{{ LOKI_ACCESS_TOKEN }}"