-
Notifications
You must be signed in to change notification settings - Fork 630
fix(dashboards): fix USE Method / Node(Windows) dashboard
#1013
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
Conversation
…stance` variable and other small fixes
| (import 'node.libsonnet') + | ||
| (import 'kubelet.libsonnet') | ||
| (import 'kubelet.libsonnet') + | ||
| (import 'windows.libsonnet') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@povilasv this would add windows rules and dashboards into the default build - are you ok with that? Personally, I see no harm in including them but wanted to check with you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will merge Monday @povilasv unless I hear otherwise 😄 can always revert this part in future
| prometheus.new( | ||
| '${datasource}', | ||
| 'max(rate(windows_logical_disk_read_seconds_total{%(clusterLabel)s="$cluster", %(windowsExporterSelector)s, instance="$instance"}[2m]) + rate(windows_logical_disk_write_seconds_total{%(clusterLabel)s="$cluster", %(windowsExporterSelector)s, instance="$instance"}[2m]))' % $._config | ||
| 'max(rate(windows_logical_disk_read_seconds_total{%(clusterLabel)s="$cluster", %(windowsExporterSelector)s, instance="$instance"}[%(grafanaIntervalVar)s]) + rate(windows_logical_disk_write_seconds_total{%(clusterLabel)s="$cluster", %(windowsExporterSelector)s, instance="$instance"}[%(grafanaIntervalVar)s]))' % $._config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for these additional changes 👍
| + var.query.refresh.onTime() | ||
| + var.query.generalOptions.showOnDashboard.withLabelAndValue() | ||
| + var.query.selectionOptions.withMulti(true), | ||
| + var.query.generalOptions.showOnDashboard.withLabelAndValue(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would seem to resolve the linked issue - thank you!
…stance` variable and other small fixes (kubernetes-monitoring#1013)
disabling
Multi-valueselection option for theinstancevariable and other small fixes. (#980)