func (g *gauge) Interval() time.Duration {
	return g.interval
}
Interval implements aura.Collector.
package aura
import (
	"fmt"
	"time"
	"github.com/rcrowley/go-metrics"
)
type Gauge interface {
	Collector
	Update(float64)
	Value() float64
}
type gauge struct {
	*Desc
	self     metrics.GaugeFloat64
	labels   map[string]string
	interval time.Duration
}
type GaugeVec struct {
	*Desc
	gauges   map[string]*gauge
	interval time.Duration
}
func (g *gauge) popMetric(desc *Desc) Metric {
	return Metric{
		Endpoint:  g.labels["endpoint"],
		Metric:    desc.fqName,
		Step:      desc.step,
		Value:     g.self.Value(),
		Type:      CounterValue,
		Labels:    g.labels,
		Timestamp: time.Now().Unix(),
	}
}
func (g *gauge) Update(i float64) {
	g.self.Update(i)
}
func (g *gauge) Value() float64 {
	return g.self.Value()
}