1. 程式人生 > >falcon接口統計

falcon接口統計

falcon query

1、獲取falcon counter信息:

curl -v "http://127.0.0.1:9966/api/counters" -d "endpoints=[\"172.17.0.1\"]" -d "limit=500" -d "_r=0.6046603"


2、獲取falcon endpoint信息:

curl -v "http://127.0.0.1:9966/api/endpoints?q=172.17.0.1&tags&limit=500&_r=0.6046603&regex_query=1"


3、獲取falcon metric值:

curl -s "http://127.0.0.1:9966/graph/history" -d ‘{"cf":"AVERAGE","endpoint_counters":[{"counter":"cpu.idle","endpoint":"172.17.0.1"}],"start":1495158669,"end":1495162800}‘

本文出自 “忠誠的哨兵” 博客,請務必保留此出處http://tsing.blog.51cto.com/3761021/1927461

falcon接口統計