// SPDX-License-Identifier: GPL-3.0-or-later

package metrics

import "github.com/netdata/netdata/go/go.d.plugin/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)
}
