-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use monitoring-mixins for dashboards and alerts #48
Conversation
If we want to use this, then I would like to also add a check to make sure that checked in alerts and dashboards are in sync. |
fec59fd
to
d9ac2d0
Compare
6117d5a
to
299b20e
Compare
Waiting on prometheus/prometheus#15334 in order not to regress on the angular deprecation of grafana |
299b20e
to
b279b89
Compare
b279b89
to
c0a70b1
Compare
c0a70b1
to
574ca26
Compare
Monitoring-mixins ([1]) allow upstream collaboration on alerts and grafana dashboards and convergence on monitoring best practices through bundling mixins with the corresponding software. Downstream customization of alerts and dashboards may be done using jsonnet ([2]). Usage of jsonnet-bundler ([3]) gives a clear reference of where dashboards and alerts originated and which version is used through `.src/jsonnetfile.json` and `.src/jsonnetfile.lock.json`. [1] https://monitoring.mixins.dev/ [2] https://github.com/google/jsonnet [3] https://github.com/jsonnet-bundler/jsonnet-bundler Signed-off-by: Jan Horstmann <[email protected]>
With the proposed workflow mixin output is generated offline and checked into version control for direct usage. A test is added to check whether the generated rules and dashboards match the checked-in version. Additionally a check for the script generating the mixins is added. Signed-off-by: Jan Horstmann <[email protected]>
With the alerts of the added node-exporter mixin some alerts became redundant and are removed. Signed-off-by: Jan Horstmann <[email protected]>
With the alerts of the added prometheus-exporter mixin some alerts became redundant and are removed. Signed-off-by: Jan Horstmann <[email protected]>
574ca26
to
c265084
Compare
@berendt all upstream dashboard changes have merged. This is finally ready for review |
Monitoring-mixins ([1]) allow upstream collaboration on alerts and grafana dashboards and convergence on monitoring best practices through bundling mixins with the corresponding software.
Downstream customization of alerts and dashboards may be done using jsonnet ([2]).
Usage of jsonnet-bundler ([3]) gives a clear reference of where dashboards and alerts originated and which version is used through
.src/jsonnetfile.json
and.src/jsonnetfile.lock.json
.[1]
https://monitoring.mixins.dev/
[2]
https://github.com/google/jsonnet
[3]
https://github.com/jsonnet-bundler/jsonnet-bundler