Skip to content

Instantly share code, notes, and snippets.

@heinrichvk heinrichvk/getMetrics2
Last active Sep 9, 2015

Embed
What would you like to do?
getMetrics2
<#assign metrics = getMetrics("${entity}") >
<#list metrics as metric>
<#if metric?index_of("cpu") gte 0>
[widget]
type = chart
timespan = 1 hour
[series]
label = ${metric}
entity = ${entity}
metric = ${metric}
statistic = avg
period = 5 minute
</#if>
</#list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.