Skip to content

Instantly share code, notes, and snippets.

@yuuichi-fujioka
Created February 19, 2014 02:17
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 yuuichi-fujioka/9084887 to your computer and use it in GitHub Desktop.
Save yuuichi-fujioka/9084887 to your computer and use it in GitHub Desktop.
Example of ceilometer v2 api query (not complex)
curl -X GET -H 'X-Auth-Token: <Token>' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ceilometerclient' 'http://ceilometer-host:8777/v2/samples?q.field=meter&q.op=eq&q.value=switch.flow&q.field=metadata.flow.id&q.type=int&q.op=eq&q.value=0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment