OpenTSDB - Get all metrics via http

允我心安 提交于 2019-12-02 02:04:41

OK, api/suggest returns the list based on matching supplied parameter. This will get me out of trouble on this question, although it doesn't return all metrics it gives me a method to make it work.

Example Request Query String

http://localhost:4242/api/suggest?type=metrics&q=sys&max=10 

JSON Content

{
  "type":"metrics",
  "q":"sys",
  "max":10
}


I hope this helps anyone else, basically RTFM! (http://opentsdb.net/docs/build/html/api_http/suggest.html)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!