From c4914eb592f5491cf94fc81f87f7a3db61f01c52 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 22 Nov 2014 11:29:03 +0100 Subject: [PATCH] Show graphs only if SysDB indicated that time-series are available. --- templates/metric.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/metric.tmpl b/templates/metric.tmpl index 40be05c..d855356 100644 --- a/templates/metric.tmpl +++ b/templates/metric.tmpl @@ -1,6 +1,8 @@
{{$m := index .Metrics 0}}

Metric {{$.Name}} — {{$m.Name}}

+{{if $m.Timeseries}} +{{end}} -- 2.30.2
Host{{$.Name}}
Last update{{$m.LastUpdate}}