diff options
Diffstat (limited to 'monitoring/ceph-mixin/dashboards/utils.libsonnet')
-rw-r--r-- | monitoring/ceph-mixin/dashboards/utils.libsonnet | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/monitoring/ceph-mixin/dashboards/utils.libsonnet b/monitoring/ceph-mixin/dashboards/utils.libsonnet index 333a444dda1..50fa0027f28 100644 --- a/monitoring/ceph-mixin/dashboards/utils.libsonnet +++ b/monitoring/ceph-mixin/dashboards/utils.libsonnet @@ -133,6 +133,29 @@ local timeSeries = import 'timeseries_panel.libsonnet'; allValues=allValues, current=current), + addLinkSchema(asDropdown, + icon, + includeVars, + keepTime, + tags, + targetBlank, + title, + tooltip, + type, + url):: + { + asDropdown: asDropdown, + icon: icon, + includeVars: includeVars, + keepTime: keepTime, + tags: tags, + targetBlank: targetBlank, + title: title, + tooltip: tooltip, + type: type, + url: url, + }, + addAnnotationSchema(builtIn, datasource, enable, |