From a8ca447c38f31156951b209d32ac4a62f51927e4 Mon Sep 17 00:00:00 2001 From: Richard Tief Date: Thu, 19 Sep 2024 15:55:03 +0200 Subject: [PATCH] opentelemetry: fix dashboard datasource template --- opentelemetry/chart/Chart.yaml | 2 +- opentelemetry/chart/dashboards/otel-logs.json | 18 +++++++++++++++++- opentelemetry/plugindefinition.yaml | 4 ++-- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/opentelemetry/chart/Chart.yaml b/opentelemetry/chart/Chart.yaml index dd22766a..ce3256f3 100644 --- a/opentelemetry/chart/Chart.yaml +++ b/opentelemetry/chart/Chart.yaml @@ -4,7 +4,7 @@ apiVersion: v2 appVersion: v0.108.0 name: opentelemetry-operator -version: 0.3.8 +version: 0.3.9 description: OpenTelemetry Operator Helm chart for Kubernetes icon: https://raw.githubusercontent.com/cncf/artwork/a718fa97fffec1b9fd14147682e9e3ac0c8817cb/projects/opentelemetry/icon/color/opentelemetry-icon-color.png type: application diff --git a/opentelemetry/chart/dashboards/otel-logs.json b/opentelemetry/chart/dashboards/otel-logs.json index af0da8a6..9d0113d2 100644 --- a/opentelemetry/chart/dashboards/otel-logs.json +++ b/opentelemetry/chart/dashboards/otel-logs.json @@ -992,7 +992,23 @@ "style": "dark", "tags": [], "templating": { - "list": [] + "list": [ + { + "description": null, + "error": null, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "datasource", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + } + ] }, "time": { "from": "now-24h", diff --git a/opentelemetry/plugindefinition.yaml b/opentelemetry/plugindefinition.yaml index 33b7e79e..3b226a29 100644 --- a/opentelemetry/plugindefinition.yaml +++ b/opentelemetry/plugindefinition.yaml @@ -6,14 +6,14 @@ kind: PluginDefinition metadata: name: opentelemetry spec: - version: 0.3.8 + version: 0.3.9 displayName: OpenTelemetry description: Observability framework for instrumenting, generating, collecting, and exporting telemetry data such as traces, metrics, and logs. icon: https://raw.githubusercontent.com/cloudoperators/greenhouse-extensions/main/opentelemetry/logo.png helmChart: name: opentelemetry-operator repository: oci://ghcr.io/cloudoperators/greenhouse-extensions/charts - version: 0.3.8 + version: 0.3.9 options: - default: true description: Activates the standard configuration for logs