Fix duplicated tags in InfluxDB
This commit is contained in:
parent
749d833f65
commit
ebd77f314d
20 changed files with 530 additions and 209 deletions
|
@ -32,7 +32,12 @@ func (g *CollectingGauge) With(labelValues ...string) metrics.Gauge {
|
|||
}
|
||||
|
||||
// Set is there to satisfy the metrics.Gauge interface.
|
||||
func (g *CollectingGauge) Set(delta float64) {
|
||||
func (g *CollectingGauge) Set(value float64) {
|
||||
g.GaugeValue = value
|
||||
}
|
||||
|
||||
// Add is there to satisfy the metrics.Gauge interface.
|
||||
func (g *CollectingGauge) Add(delta float64) {
|
||||
g.GaugeValue = delta
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue