func (g GraphiteDaemon) QueryRecent(target string, d time.Duration) ([]GraphiteSeries, error) {
	from := fmt.Sprintf("-%ds", int64(d/time.Second))
	data, err := g.query(target, from, "now")
	if err != nil {
		return nil, errors.Trace(err)
	}
	return data, nil
}
QueryRecent retrieves data stored in Graphite for the most recent d time.
package resource
import (
	"fmt"
	"io/ioutil"
	"math"
	"net/http"
	"net/url"
	"regexp"
	"strconv"
	"strings"
	"time"
	"github.com/juju/errors"
)
type GraphiteDaemon struct {
	Base string
}
type GraphiteSeries struct {
	Name       string
	Start, End time.Time
	Step       time.Duration
	Values     []float64
}