Created
June 15, 2015 10:06
-
-
Save heinrichvk/6b0777fa7ab3ea8796de to your computer and use it in GitHub Desktop.
getTagMaps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#assign procMaps = getTagMaps("nmon.process.%cpu", "${entity}") > | |
<#list procMaps as procMap> | |
[series] | |
label = ${procMap['command']} | |
entity = ${entity} | |
metric = nmon.process.%cpu | |
[tag] | |
name = pid | |
value = ${procMap['pid']} | |
[tag] | |
name = command | |
value = ${procMap['command']} | |
</#list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment