Created
February 19, 2014 02:17
-
-
Save yuuichi-fujioka/9084887 to your computer and use it in GitHub Desktop.
Example of ceilometer v2 api query (not complex)
This file contains hidden or 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
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