Expose PromConsole.Graph.buildQueryUrl, refactor dispatch to use (#2461)
Expose PromConsole.Graph.buildQueryUrl, refactor dispatch to use (#2461)

Expose buildQueryUrl, refactor dispatch to use

buildQueryUrl will allow users to execute queries over the range of an
existing graph.  This will be helpful to select data series they wish to
annotate the graph with, for example.

Stackdriver/stackdriver-prometheus,prometheus/prometheus,kangwoo/prometheus,Conorbro/prometheus,dsymonds/prometheus,keegancsmith/prometheus,AlekSi/prometheus,JavierZunzunegui/prometheus,kangwoo/prometheus,keegancsmith/prometheus,dsymonds/prometheus,yanghongkjxy/prometheus,kangwoo/prometheus,JavierZunzunegui/prometheus,yanghongkjxy/prometheus,tomwilkie/prometheus,dsymonds/prometheus,keegancsmith/prometheus,amorken/prometheus,alileza/prometheus,kzittritsch/prometheus,AlekSi/prometheus,GoogleCloudPlatform/prometheus,Conorbro/prometheus,kzittritsch/prometheus,dsymonds/prometheus,alileza/prometheus,prometheus/prometheus,brancz/prometheus,agaoglu/prometheus,alileza/prometheus,SaltedMan/prometheus-annotated,amorken/prometheus,SaltedMan/prometheus-annotated,kzittritsch/prometheus,Colstuwjx/prometheus,alileza/prometheus,kzittritsch/prometheus,GoogleCloudPlatform/prometheus,tomwilkie/prometheus,brancz/prometheus,yanghongkjxy/prometheus,AlekSi/prometheus,AlekSi/prometheus,prometheus/prometheus,Gouthamve/prometheus,agaoglu/prometheus,Conorbro/prometheus,alileza/prometheus,Colstuwjx/prometheus,tomwilkie/prometheus,SaltedMan/prometheus-annotated,agaoglu/prometheus,Colstuwjx/prometheus,prometheus/prometheus,Gouthamve/prometheus,Stackdriver/stackdriver-prometheus,GoogleCloudPlatform/prometheus,Conorbro/prometheus,Colstuwjx/prometheus,JavierZunzunegui/prometheus,brancz/prometheus,tomwilkie/prometheus,Gouthamve/prometheus,Stackdriver/stackdriver-prometheus,keegancsmith/prometheus,GoogleCloudPlatform/prometheus,prometheus/prometheus,yanghongkjxy/prometheus,kangwoo/prometheus,brancz/prometheus,Stackdriver/stackdriver-prometheus,agaoglu/prometheus,keegancsmith/prometheus,SaltedMan/prometheus-annotated,JavierZunzunegui/prometheus,amorken/prometheus,amorken/prometheus,Gouthamve/prometheus,GoogleCloudPlatform/prometheus