I am getting some data from OpenTSDB, but cannot work out how to get a list of metrics via http?
For reference, here's the c# code I'm using to get databack. Is there a url that would return all metrics?
var request = WebRequest.Create("http://localhost:4242/api/version?jsonp=callback");
request.ContentType = "application/json; charset=utf-8";
string text;
var response = (HttpWebResponse)request.GetResponse();
using (var sr = new StreamReader(response.GetResponseStream()))
{
text = sr.ReadToEnd();
}
uxResponse.Text = text;
The default OpenTSDB website provides this functionality as per following screenshot, I want to mimic this from a my asp site.