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

[kube-prometheus-stack] grafana dashboards in seperate chart

Open jcpunk opened this issue 2 years ago • 11 comments

Is your feature request related to a problem ?

Tracking the dashboard states is currently buried within the operator chart. Having the dashboards in their own chart would also give non-operator charts a way to pull in the dashboards cleanly.

Describe the solution you'd like.

Separate the kube-prometheus-stack/templates/grafana/dashboards-1.14 charts into a separate chart that is pulled in optionally dependent on which flags are set.

Describe alternatives you've considered.

Maintaining my own smaller chart with just the dashboards

Additional context.

Having the dashboards mixed in with the operator isn't as clean as having a chart focused on just the operator and another on just the dashboards.

jcpunk avatar Dec 20 '22 17:12 jcpunk

I'm having the same issue, I don't really know how to manage my monitoring dashboards with this chart,

Perhaps, we can add a value to add dashboard in the values.yml to make it simple ?

IDerr avatar Dec 23 '22 11:12 IDerr

I'm having the same issue, I don't really know how to manage my monitoring dashboards with this chart,

Perhaps, we can add a value to add dashboard in the values.yml to make it simple ?

The Grafana chart supports importing dashboards which can then be set in your values file through grafana.dashboards. I used such an import successfully, although, I admit, for numerous dashboards I ended up setting up a custom Helm chart solely with dashboards.

zeritti avatar Dec 25 '22 19:12 zeritti

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Feb 02 '23 02:02 stale[bot]

This is still something I'd like to see

jcpunk avatar Feb 02 '23 14:02 jcpunk

This would be very handy in lots of situation.

stoupance avatar Feb 24 '23 10:02 stoupance

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Apr 02 '23 02:04 stale[bot]

I'd still like to see this

jcpunk avatar Apr 02 '23 17:04 jcpunk

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar May 20 '23 12:05 stale[bot]

I'd still like to see this resolved.

jcpunk avatar May 20 '23 18:05 jcpunk

any update on this?

bsgrigorov avatar Jul 30 '23 09:07 bsgrigorov

Hello,

I'd like to see the capability to define grafana dashboard/datasource in others chart.

I saw the grafana operator which can help to define a dashboard by using CRD (https://grafana.github.io/grafana-operator/docs/examples/dashboard_from_grafana_com/readme/).

Can we use it into the kube-prometheus-stack?

Thank you in advance.

nicolasdonato avatar Dec 16 '23 22:12 nicolasdonato