Open nomatterz opened 3 years ago
I am also seeing this
This looks to be fixed in 7.4.0: https://github.com/grafana/grafana/issues/26447
I wanted to let you know that it works as intended for me. Using Grafana v9.3
Using kube-prometheus-stack
helm chart, with the following config:
grafana:
grafana.ini:
paths:
data: /var/lib/grafana/
logs: /var/log/grafana
plugins: /var/lib/grafana/plugins
provisioning: /etc/grafana/provisioning
analytics:
check_for_updates: true
log:
mode: console
grafana_net:
url: https://grafana.net
server:
domain: "{{ if (and .Values.ingress.enabled .Values.ingress.hosts) }}{{ .Values.ingress.hosts | first }}{{ else }}''{{ end }}"
## grafana Authentication can be enabled with the following values on grafana.ini
# server:
# The full public facing url you use in browser, used for redirects and emails
# root_url:
dashboards:
# Path to the default home dashboard. If this value is empty, then Grafana uses StaticRootPath + "dashboards/home.json"
default_home_dashboard_path: /tmp/dashboards/home.json
Simple Configmap for Dashboard
apiVersion: v1
kind: ConfigMap
metadata:
name: home
namespace: monitoring
labels:
grafana_dashboard: "1"
data:
home.json: |-
I'm using grafana helm chart
grafana-6.1.16
with grafana7.3.5
. I want to set custom default dashboard. Here is my values.ymlHere is my sample dashboard which i want to set as default
So, when I open Grafana this dashboard is actually provisioned and set as default but somehow
getting started
panel is added to itSo question is: Why this happens and how to avoid this?