You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/kubernetes-monitoring/kubernetes-mixin provides a set of Grafana dashboards and Prometheus alerts for Kubernetes.
It works well in tandem with this helm chart. I successfully deployed dashboards and alerting rules and want to share with the community how it is done.
Maybe instructions can be added to the README or even better maybe this could be added to the helm chart via a feature flag.
# On MacOS using brew
brew install jsonnet jsonnet-bundler
Install dependencies
# This will produce a jsonnetfile.json file in the current working directory
jb init
# This will install the kubernetes-mixin to the ./vendor directory
jb install https://github.com/kubernetes-monitoring/kubernetes-mixin
# make sure to add the vendor directory to your .gitignore file
Add the mixin.libsonnet file
The mixin.libsonnet file contains the jsonnet configuration. The selectors need to be updated to use the labels that are configured by this helm chart for Grafana Alloy. The below configuration is compatible with the default values used by this helm chart.
https://github.com/kubernetes-monitoring/kubernetes-mixin provides a set of Grafana dashboards and Prometheus alerts for Kubernetes.
It works well in tandem with this helm chart. I successfully deployed dashboards and alerting rules and want to share with the community how it is done.
Maybe instructions can be added to the README or even better maybe this could be added to the helm chart via a feature flag.
Prerequisites
Install jsonnet and jsonnet-bundler.
# On MacOS using brew brew install jsonnet jsonnet-bundler
Install dependencies
Add the mixin.libsonnet file
The
mixin.libsonnet
file contains the jsonnet configuration. The selectors need to be updated to use the labels that are configured by this helm chart for Grafana Alloy. The below configuration is compatible with the default values used by this helm chart.Generate alerts, rules, and dashboards
Run the following commands to generate the files.
You then need to apply the generated files to prometheus / grafana. I am personally using the Prometheus and Grafana operator for that purpose.
Add operator CRDs using helm
The text was updated successfully, but these errors were encountered: