I using Grafana 2.6 and Prometheus 0.18. I am using Docker images of these.
My data source is Prometheus.
While creating new variable in templating option , I am using query_result(query) option.
For example , I have used query_result(http_requests_total) but I am getting following error. I have tried couple of different queries but no luck
Template variables could not be initialized: parse error at char 13: could not parse remaining input "(http_requests_"...
What is the proper way to use query_result(query) option.