Make query_range more robust.
Make query_range more robust.

Gracefully handle decimal values, by truncating them.

Limit amount of steps, to avoid accidentally pulling too much data.
This limit returns up to ~500kB per timeseries, and allows
for 60s granularity for a week and 1h granularity for a year.

Change-Id: Ie549fc24deb2eecbc6c5d1b6088a548a6b02e849

gesellix/prometheus,thachmai/prometheus,smyrman/prometheus,agaoglu/prometheus,dpatel06/prometheus,datajet-io/prometheus,agaoglu/prometheus,alileza/prometheus,nicr9/prometheus,wrouesnel/prometheus,dalanlan/prometheus,mtanda/prometheus,AlekSi/prometheus,GoogleCloudPlatform/prometheus,abhishekamralkar/prometheus,justintung/prometheus,kangwoo/prometheus,gcnonato/prometheus,dln/prometheus,nicr9/prometheus,amorken/prometheus,gcnonato/prometheus,tomwilkie/prometheus,thachmai/prometheus,datajet-io/prometheus,thachmai/prometheus,fabric8io/prometheus,smyrman/prometheus,prasincs/prometheus,jimmidyson/prometheus,brancz/prometheus,mrwacky42/prometheus,sudhi-vm/prometheus,gesellix/prometheus,kzittritsch/prometheus,fabxc/prometheus,Stackdriver/stackdriver-prometheus,brancz/prometheus,adamron1/prometheus,trigrass2/prometheus,gcnonato/prometheus,dalanlan/prometheus,abhishekamralkar/prometheus,alileza/prometheus,jimmidyson/prometheus,slok/prometheus,dpatel06/prometheus,jmcfarlane/prometheus,sudhi-vm/prometheus,yanghongkjxy/prometheus,jbdalido/prometheus,gottwald/prometheus,jbdalido/prometheus,dmilstein/prometheus,adamron1/prometheus,dsymonds/prometheus,JavierZunzunegui/prometheus,eliothedeman/prometheus,brancz/prometheus,Colstuwjx/prometheus,gottwald/prometheus,eliothedeman/prometheus,RobertKielty/prometheus,jmcfarlane/prometheus,JavierZunzunegui/prometheus,Stackdriver/stackdriver-prometheus,jbdalido/prometheus,tattsun/prometheus,dmilstein/prometheus,jbdalido/prometheus,gcnonato/prometheus,wrouesnel/prometheus,mtanda/prometheus,rajthilakmca/prometheus,tomwilkie/prometheus,msiebuhr/prometheus,jmcfarlane/prometheus,ton31337/prometheus,kzittritsch/prometheus,smyrman/prometheus,PrFalken/prometheus,robbiet480/prometheus,q3k/prometheus,Gouthamve/prometheus,amorken/prometheus,datajet-io/prometheus,cit-lab/prometheus,abhishekamralkar/prometheus,kzittritsch/prometheus,mrwacky42/prometheus,trigrass2/prometheus,smyrman/prometheus,alileza/prometheus,laushinka/prometheus,agaoglu/prometheus,gesellix/prometheus,hustbill/prometheus,Gouthamve/prometheus,hustbill/prometheus,tomwilkie/prometheus,slok/prometheus,tattsun/prometheus,GoogleCloudPlatform/prometheus,amorken/prometheus,justintung/prometheus,ton31337/prometheus,trigrass2/prometheus,flier/prometheus,yanghongkjxy/prometheus,prasincs/prometheus,hustbill/prometheus,Dieterbe/prometheus,yanghongkjxy/prometheus,keegancsmith/prometheus,Colstuwjx/prometheus,fabric8io/prometheus,kangwoo/prometheus,dalanlan/prometheus,Stackdriver/stackdriver-prometheus,robbiet480/prometheus,agaoglu/prometheus,bluecmd/prometheus,PrFalken/prometheus,bluecmd/prometheus,gottwald/prometheus,Colstuwjx/prometheus,kzittritsch/prometheus,dln/prometheus,prometheus/prometheus,prasincs/prometheus,wxdublin/prometheus,q3k/prometheus,sudhi-vm/prometheus,SaltedMan/prometheus-annotated,adamron1/prometheus,robbiet480/prometheus,wrouesnel/prometheus,keegancsmith/prometheus,laushinka/prometheus,justintung/prometheus,ton31337/prometheus,trigrass2/prometheus,Conorbro/prometheus,adamron1/prometheus,iksaif/prometheus,fabxc/prometheus,wndhydrnt/prometheus,laushinka/prometheus,wndhydrnt/prometheus,PrFalken/prometheus,dsymonds/prometheus,Dieterbe/prometheus,slok/prometheus,cit-lab/prometheus,slok/prometheus,keegancsmith/prometheus,dmilstein/prometheus,fabric8io/prometheus,mtanda/prometheus,cit-lab/prometheus,sudhi-vm/prometheus,fabxc/prometheus,msiebuhr/prometheus,iksaif/prometheus,Conorbro/prometheus,dsymonds/prometheus,wxdublin/prometheus,tomwilkie/prometheus,keegancsmith/prometheus,dsymonds/prometheus,JavierZunzunegui/prometheus,Gouthamve/prometheus,AlekSi/prometheus,tattsun/prometheus,flier/prometheus,keegancsmith/prometheus,thachmai/prometheus,jmcfarlane/prometheus,kangwoo/prometheus,gottwald/prometheus,RobertKielty/prometheus,prometheus/prometheus,Dieterbe/prometheus,ton31337/prometheus,gesellix/prometheus,flier/prometheus,cit-lab/prometheus,Conorbro/prometheus,GoogleCloudPlatform/prometheus,yanghongkjxy/prometheus,fabxc/prometheus,robbiet480/prometheus,wxdublin/prometheus,Conorbro/prometheus,kangwoo/prometheus,prometheus/prometheus,iksaif/prometheus,prometheus/prometheus,RobertKielty/prometheus,rajthilakmca/prometheus,prometheus/prometheus,dln/prometheus,tattsun/prometheus,alileza/prometheus,dmilstein/prometheus,dln/prometheus,prasincs/prometheus,wndhydrnt/prometheus,hustbill/prometheus,brancz/prometheus,amorken/prometheus,SaltedMan/prometheus-annotated,bluecmd/prometheus,AlekSi/prometheus,datajet-io/prometheus,nicr9/prometheus,Colstuwjx/prometheus,justintung/prometheus,GoogleCloudPlatform/prometheus,SaltedMan/prometheus-annotated,AlekSi/prometheus,mrwacky42/prometheus,laushinka/prometheus,SaltedMan/prometheus-annotated,iksaif/prometheus,jimmidyson/prometheus,Gouthamve/prometheus,msiebuhr/prometheus,eliothedeman/prometheus,Stackdriver/stackdriver-prometheus,GoogleCloudPlatform/prometheus,eliothedeman/prometheus,msiebuhr/prometheus,fabric8io/prometheus,q3k/prometheus,q3k/prometheus,rajthilakmca/prometheus,alileza/prometheus,wrouesnel/prometheus,bluecmd/prometheus,RobertKielty/prometheus,JavierZunzunegui/prometheus,dpatel06/prometheus,rajthilakmca/prometheus,mtanda/prometheus,PrFalken/prometheus,abhishekamralkar/prometheus