Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
getEntitiesForTags
<#assign servers = getEntitiesForTags("", "(app == '${app}' OR '${app}' == '' AND app != '') AND
(dc == '${dc}' OR '${dc}' == '' AND dc != '')") >
<#list servers as server>
[series]
label = ${server}
entity = ${server}
metric = physical_cpu_units_used
</#list>
<#assign servers = getEntitiesForTags("", "application = '${entity}'") >
<#list servers as server>
[series]
entity = ${server}
metric = physical_cpu_units_used
</#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.