From 1c02e159fc086cda47ca72d3437abb605ece1444 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sat, 8 Oct 2022 01:53:35 +0200
Subject: [PATCH] fix(loki): Add uid to datasource to make it easy to reference

Currently it's apparently required to hardcode datasource uids in order
to reference them in dashboards, otherwise always the default datasource
will be used.
---
 infrastructure/loki/loki.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/infrastructure/loki/loki.yaml b/infrastructure/loki/loki.yaml
index 39f8e1acc..cb2abfe27 100644
--- a/infrastructure/loki/loki.yaml
+++ b/infrastructure/loki/loki.yaml
@@ -166,6 +166,7 @@ data:
     - name: Loki
       type: loki
       access: proxy
+      uid: loki-system
       url: http://loki-gateway.loki-system.svc.cluster.local
       version: 1
       isDefault: false
-- 
GitLab