Skip to content

Instantly share code, notes, and snippets.

@heinrichvk
Last active August 29, 2015 14:23
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/ab7af1d8d030bab23cb8 to your computer and use it in GitHub Desktop.
Save heinrichvk/ab7af1d8d030bab23cb8 to your computer and use it in GitHub Desktop.
getSeriesProperties
<#assign ebs_volume_tags = getSeriesProperties(volume, "aws_ec2.attachmentset") >
<#list ebs_volume_tags as volume_tags>
<#if volume_tags.entity == volume>
[series]
label = ${volume}
label = ${volume_tags.key.device}
entity = ${volume}
metric = aws_ebs.volumequeuelength.maximum
</#if>
</#list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment