glide up
This commit is contained in:
		
							
								
								
									
										7
									
								
								vendor/github.com/go-kit/kit/metrics/statsd/statsd.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/github.com/go-kit/kit/metrics/statsd/statsd.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -74,7 +74,6 @@ func (s *Statsd) NewGauge(name string) *Gauge {
 | 
			
		||||
	return &Gauge{
 | 
			
		||||
		name: s.prefix + name,
 | 
			
		||||
		obs:  s.gauges.Observe,
 | 
			
		||||
		add:  s.gauges.Add,
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -202,7 +201,6 @@ func (c *Counter) Add(delta float64) {
 | 
			
		||||
type Gauge struct {
 | 
			
		||||
	name string
 | 
			
		||||
	obs  observeFunc
 | 
			
		||||
	add  observeFunc
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// With is a no-op.
 | 
			
		||||
@@ -215,11 +213,6 @@ func (g *Gauge) Set(value float64) {
 | 
			
		||||
	g.obs(g.name, lv.LabelValues{}, value)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Add implements metrics.Gauge.
 | 
			
		||||
func (g *Gauge) Add(delta float64) {
 | 
			
		||||
	g.add(g.name, lv.LabelValues{}, delta)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Timing is a StatsD timing, or metrics.Histogram. Observations are
 | 
			
		||||
// forwarded to a Statsd object, and collected (but not aggregated) per
 | 
			
		||||
// timeseries.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user