lotus-land-story: provision VictoriaTraces in Grafana
Assisted-by: Claude Opus 5.5 via Claude Code
change trlsposrzksrnxktzqnxponqowqurstu
commit 194daea2bdd7ba68569ff0d1163e4591c63e41e4
author Alpha Chen <alpha@kejadlen.dev>
date
parent nwlnwxvx
diff --git a/lotus-land-story/grafana.yml b/lotus-land-story/grafana.yml
index ef86751..e1b76ba 100644
--- a/lotus-land-story/grafana.yml
+++ b/lotus-land-story/grafana.yml
@@ -95,6 +95,20 @@
               isDefault: true
         mode: "0644"
 
+    # Jaeger rather than Tempo: VictoriaTraces' Tempo API needs v0.9.4+.
+    - name: Provision VictoriaTraces
+      ansible.builtin.copy:
+        dest: /mnt/lotus-land-story/grafana/provisioning/datasources/victoria-traces.yml
+        content: |
+          apiVersion: 1
+
+          datasources:
+            - name: VictoriaTraces
+              type: jaeger
+              access: proxy
+              url: http://victoria-traces:10428/select/jaeger
+        mode: "0644"
+
     - name: Create Grafana data dir
       ansible.builtin.file:
         path: /mnt/lotus-land-story/grafana/data