码迷,mamicode.com
首页 > 其他好文 > 详细

falcon接口统计

时间:2017-05-19 14:25:56      阅读:105      评论:0      收藏:0      [点我收藏+]

标签: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接口统计

标签:falcon   query   

原文地址:http://tsing.blog.51cto.com/3761021/1927461

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!