Skip to content

Instantly share code, notes, and snippets.

@carlosolmos
Created September 10, 2018 17:00
Show Gist options
  • Save carlosolmos/573d913c07af276be493c28021af6ded to your computer and use it in GitHub Desktop.
Save carlosolmos/573d913c07af276be493c28021af6ded to your computer and use it in GitHub Desktop.
get opentsdb stats and filter with jq
curl http://opentsdb.servicelocal:4242/api/stats | jq '.[] | select(.metric == "tsd.rpc.received")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment