Skip to content

Instantly share code, notes, and snippets.

@pkilambi
Created August 19, 2015 14:52
Show Gist options
  • Save pkilambi/938aa6e93de9f4386c14 to your computer and use it in GitHub Desktop.
Save pkilambi/938aa6e93de9f4386c14 to your computer and use it in GitHub Desktop.
- name: 'compute.node.cpu.kernel.percent'
event_type: 'compute.metrics.update'
type: 'gauge'
unit: '%'
volume:
attribute: payload.metrics[?(@.name='cpu.kernel.percent')].value
scale: 100
resource_id:
attribute:
- payload.host
- payload.nodename
separator: '_'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment