Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defaultDashboardFolderId setting is not working for Grafana dashboards #6536

Closed
jmunozro opened this issue Jun 7, 2022 · 4 comments
Closed
Assignees
Labels
Type: Bug Something isn't working zendesk

Comments

@jmunozro
Copy link
Member

jmunozro commented Jun 7, 2022

Gloo Edge Version

1.11.x (latest stable)

Kubernetes Version

1.23.x

Describe the bug

defaultDashboardFolderId should be the location for ALL the grafana dashboards

Steps to reproduce the bug

helm repo add glooe https://storage.googleapis.com/gloo-ee-helm
helm repo update
helm upgrade --install gloo glooe/gloo-ee --namespace gloo-system \
  --create-namespace --version 1.11.17 --devel -f - <<EOF
license_key: xxx
gloo:
  settings:
    kubeResourceOverride:
      spec:
        observabilityOptions:
          grafanaIntegration:
            defaultDashboardFolderId: 29
EOF

You see that the dynamic upstream are created in the custom folder, but the static are created in the default:

image

Expected Behavior

I didn't find any way to workaround this issue

Additional Context

Related: #5853

@jmunozro jmunozro added the Type: Bug Something isn't working label Jun 7, 2022
@nscherer-chipotle
Copy link

Would love to see a fix for this one!

@edubonifs
Copy link

For one of our clients, when he tries to use this setting in order to move all dashboards to desired folderId, he only gets Envoy Statistic, Gloo Overview and Kubernetes Cluster Monitoring, so missing two.

I have observed that the resting, Extauth Dashboard and All Upstreams, aren't moved to the desired folder.

I managed to reproduce that by removing providers on glooe-grafana config map in Gloo-system:

apiVersion: v1
data:
  dashboardproviders.yaml: |
    apiVersion: 1
  datasources.yaml: |
    apiVersion: 1
    datasources:
    - access: proxy
      isDefault: true
      name: gloo
      type: prometheus
      url: http://glooe-prometheus-server:80
  grafana.ini: |
    [analytics]
    check_for_updates = true
    [grafana_net]
    url = https://grafana.net
    [log]
    mode = console
    [paths]
    data = /var/lib/grafana/
    logs = /var/log/grafana
    plugins = /var/lib/grafana/plugins
    provisioning = /etc/grafana/provisioning
kind: ConfigMap
metadata:
  annotations:
    meta.helm.sh/release-name: gloo
    meta.helm.sh/release-namespace: gloo-system
  labels:
    app.kubernetes.io/instance: gloo
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: glooe-grafana
    app.kubernetes.io/version: 8.2.1
    helm.sh/chart: grafana-6.16.14
  name: glooe-grafana
  namespace: gloo-system

@soloio-bot
Copy link

Zendesk ticket #3039 has been linked to this issue.

@kcbabo kcbabo changed the title defaultDashboardFolderId setting is not working for static dashboards defaultDashboardFolderId setting is not working for Grafana dashboards Dec 28, 2023
@davidjumani davidjumani self-assigned this Jan 13, 2024
@davidjumani
Copy link
Contributor

This fix will be in v1.17.0-beta1, v1.16.1 and v1.15.12 when released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working zendesk
Projects
None yet
Development

No branches or pull requests

5 participants