This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/monitoring/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/dashboards/defaults.libsonnet
Tobias Brunner caa6d8b011
All checks were successful
continuous-integration/drone/push Build is passing
update monitoring
2020-06-21 12:48:26 +02:00

30 lines
694 B
Plaintext

{
local grafanaDashboards = super.grafanaDashboards,
// Automatically add a uid to each dashboard based on the base64 encoding
// of the file name and set the timezone to be 'default'.
grafanaDashboards:: {
[filename]: grafanaDashboards[filename] {
uid: std.md5(filename),
timezone: 'UTC',
// Modify tooltip to only show a single value
rows: [
row {
panels: [
panel {
tooltip+: {
shared: false,
},
}
for panel in super.panels
],
}
for row in super.rows
],
}
for filename in std.objectFields(grafanaDashboards)
},
}