src/go/plugin/go.d/pkg/metrics/metrics.go
// SPDX-License-Identifier: GPL-3.0-or-later
package metrics
import "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/stm"
// Observer is an interface that wraps the Observe method, which is used by
// Histogram and Summary to add observations.
type Observer interface {
stm.Value
Observe(v float64)
}