featurehub-io / featurehub-install

FeatureHub - installation docker images and Helm charts
9 stars 7 forks source link

Prometheus and Grafana #42

Closed rvowles closed 2 years ago

rvowles commented 2 years ago

This is designed to allow these two services to be in the cluster to allow iteration on supporting useful Grafana style dashboards for FeatureHub.

marcemv90 commented 2 years ago

Hello @rvowles 👋,

I don't think is worth putting the Prometheus installation as a Chart dependency of the Chart. Normally a Production installation would have an existing Prometheus installation (or other monitoring system). I know you can turn on and off the dependencies, but think if every Chart developer would add such "infrastructure" components into the Chart.

I would say is best to just mention it in the README.md something like follows, instead of putting it as a dependency:

In order to try Prometheus metrics you would need a Prometheus installation, we recommend using to the `kube-prometheus-stack, as it already comes with all the monitoring, alerting and dashboarding tools, and it is probably the one that you will find in a Production installation.

https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack

From my experience, I would say best here would be:

Hope you can find this comment helpful,

Regards!

rvowles commented 2 years ago

Hiya @marcemv90 - I definitely want to actively discourage its use in production (not using this chart), but I need it there as a development resource, i would rather not maintain a separate branch. I'm writing up the docs on the metrics at the moment and adding in and clarifying other metrics for the 1.5.9 release - and I would like to fo have a Grafana dashboard as you say.

rvowles commented 2 years ago

I figured out an alternative so I'll do this an alternative way and remove the prom/grafana

marcemv90 commented 2 years ago

I figured out an alternative so I'll do this an alternative way and remove the prom/grafana

Cool! At our company we have quite some experience with Helm, let us know in case you need help with something related to the Helm Chart 😄

Regards!