Skip to content

Commit

Permalink
Dashboard links keep variables in vsphere mixin (#1318)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKurek authored Aug 27, 2024
1 parent 952e46f commit d446087
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions vsphere-mixin/links.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,20 @@ local g = import './g.libsonnet';
{
vSphereOverview:
link.link.new('vSphere overview', '/d/' + this.grafana.dashboards.overview.uid)
+ link.link.options.withKeepTime(true),
+ link.link.options.withKeepTime(true)
+ link.link.options.withIncludeVars(true),
vSphereClusters:
link.link.new('vSphere clusters', '/d/' + this.grafana.dashboards.clusters.uid)
+ link.link.options.withKeepTime(true),
+ link.link.options.withKeepTime(true)
+ link.link.options.withIncludeVars(true),
vSphereVirtualMachines:
link.link.new('vSphere virtual machines', '/d/' + this.grafana.dashboards.virtualMachines.uid)
+ link.link.options.withKeepTime(true),
+ link.link.options.withKeepTime(true)
+ link.link.options.withIncludeVars(true),
vSphereHosts:
link.link.new('vSphere hosts', '/d/' + this.grafana.dashboards.hosts.uid)
+ link.link.options.withKeepTime(true),
+ link.link.options.withKeepTime(true)
+ link.link.options.withIncludeVars(true),
}
+
if this.config.enableLokiLogs then
Expand Down

0 comments on commit d446087

Please sign in to comment.