Skip to content

Monitoring mixin for Ingress-nginx. A set of Grafana dashboards and Prometheus rules for Ingress-nginx.

License

Notifications You must be signed in to change notification settings

adinhodovic/ingress-nginx-mixin

Repository files navigation

Prometheus Monitoring Mixin for Ingress-nginx

A set of Grafana dashboards and Prometheus alerts and rules for ingress-nginx.

How to use

This mixin is designed to be vendored into the repo with your infrastructure config. To do this, use jsonnet-bundler:

You then have three options for deploying your dashboards

  1. Generate the config files and deploy them yourself
  2. Use jsonnet to deploy this mixin along with Prometheus and Grafana
  3. Use prometheus-operator to deploy this mixin

Generate config files

You can manually generate the alerts, dashboards and rules files, but first you must install some tools:

go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
brew install jsonnet

Then, grab the mixin and its dependencies:

git clone https://github.com/example/ingress-nginx-mixin
cd example/ingress-nginx-mixin
jb install

Finally, build the mixin:

make prometheus-alerts.yaml
make prometheus-rules.yaml
make dashboards-out

The prometheus-alerts.yaml and prometheus-rules.yaml file then need to passed to your Prometheus server, and the files in dashboards-out need to be imported into you Grafana server. The exact details will depending on how you deploy your monitoring stack to Kubernetes.

Alerts

The mixin follows the monitoring-mixins guidelines for alerts.

About

Monitoring mixin for Ingress-nginx. A set of Grafana dashboards and Prometheus rules for Ingress-nginx.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published