helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[kube-prometheus-stack] group grafana dashboards in folders

Open marcofranssen opened this issue 10 months ago • 7 comments

Is your feature request related to a problem ?

Give more structure to the dashboards in Grafana folders.

Describe the solution you'd like.

I would like to have a way to structure the grafana dashboards in folders.

From following chart I see 2 options:

  • https://artifacthub.io/packages/helm/grafana/grafana?modal=values&path=sidecar.dashboards.provider.foldersFromFilesStructure
  • https://artifacthub.io/packages/helm/grafana/grafana?modal=values&path=sidecar.dashboards.folderAnnotation

e.g. All the Kubernetes / dashboards could go in a Kubernetes folder. Or we make it somehow configurable via option 2 using those annotations.

Maybe it is already possible with the current chart, but I can't really figure it out at the moment on how to do that. In that case some documentation might be great to tell users of the chart how to do this.

Anyone with more deep knowledge in this chart who knows how to achieve that?

Describe alternatives you've considered.

Provisioning all the dashboards myself and disable the default shipped dashboards.

Additional context.

No response

marcofranssen avatar Apr 26 '24 20:04 marcofranssen

Lets wait for Grafana 11, then we may able to benefit from the sub-folder structor. What did you think about?

jkroepke avatar Apr 29 '24 16:04 jkroepke

Lets wait for Grafana 11, then we may able to benefit from the sub-folder structor. What did you think about?

If that makes it easier. Would already be happy to group some stuff in one level of folders.

marcofranssen avatar Apr 29 '24 21:04 marcofranssen

Grafana 11 release is less then four weeks, dated for mid may.

jkroepke avatar Apr 29 '24 21:04 jkroepke

At the moment is there a way to disable the default shipped dashboards?

johanjino avatar May 14 '24 16:05 johanjino

Set grafana.defaultDashboardsEnabled=false in values

And Grafana 11 released today. https://github.com/grafana/grafana/releases

jkroepke avatar May 14 '24 16:05 jkroepke

I'd also benefit from this feature 😄 would love to organize my dashboards in folders.

emerconn avatar Jul 16 '24 19:07 emerconn

overlaps with https://github.com/prometheus-community/helm-charts/issues/3160

martinrw avatar Aug 15 '24 12:08 martinrw