Skip to content

Instantly share code, notes, and snippets.

@heinrichvk
Created June 15, 2015 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heinrichvk/6b0777fa7ab3ea8796de to your computer and use it in GitHub Desktop.
Save heinrichvk/6b0777fa7ab3ea8796de to your computer and use it in GitHub Desktop.
getTagMaps
<#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