Working functions to query a metric in a graphite-friendly manner.