From 4c2af9053611773decae49cdc5cfb8cfc204f816 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 28 Dec 2025 20:40:02 +0200 Subject: Clean up Tempo datasource ConfigMap formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove unnecessary quotes and comments from the Tempo datasource ConfigMap. This file is now deprecated in favor of the unified grafana-datasources-all.yaml approach, but keeping it cleaned up for historical reference. Changes: - Remove quotes from string values (datasourceUid, spanStartTimeShift, etc.) - Remove inline comments - Format tags array properly - Standardize YAML formatting Note: This ConfigMap is no longer used. Datasources are now provisioned via direct ConfigMap mounting using grafana-datasources-all.yaml. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- f3s/tempo/datasource-configmap.yaml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/f3s/tempo/datasource-configmap.yaml b/f3s/tempo/datasource-configmap.yaml index 00fb972..0fb3fab 100644 --- a/f3s/tempo/datasource-configmap.yaml +++ b/f3s/tempo/datasource-configmap.yaml @@ -13,7 +13,7 @@ data: tempo-datasource.yaml: |- apiVersion: 1 datasources: - - name: "Tempo" + - name: Tempo type: tempo uid: tempo url: http://tempo.monitoring.svc.cluster.local:3200 @@ -22,26 +22,24 @@ data: editable: true jsonData: httpMethod: GET - # Enable traces-to-logs correlation with Loki tracesToLogsV2: - datasourceUid: 'loki' - spanStartTimeShift: '-1h' - spanEndTimeShift: '1h' + datasourceUid: loki + spanStartTimeShift: -1h + spanEndTimeShift: 1h filterByTraceID: false filterBySpanID: false - tags: ['cluster', 'namespace', 'pod', 'app'] - # Enable traces-to-metrics correlation with Prometheus + tags: + - cluster + - namespace + - pod + - app tracesToMetrics: - datasourceUid: 'prometheus' - # Enable service graph visualization + datasourceUid: prometheus serviceMap: - datasourceUid: 'prometheus' - # Enable node graph for visualization + datasourceUid: prometheus nodeGraph: enabled: true - # Enable search search: hide: false - # Enable Loki search integration lokiSearch: - datasourceUid: 'loki' + datasourceUid: loki -- cgit v1.2.3