Documentation ¶
Index ¶
Constants ¶
View Source
const BackendName = "null"
BackendName is the name of this backend.
Variables ¶
This section is empty.
Functions ¶
func NewClientFromViper ¶
func NewClientFromViper(v *viper.Viper, logger logrus.FieldLogger, pool *transport.TransportPool) (gostatsd.Backend, error)
NewClientFromViper constructs a GraphiteClient object by connecting to an address.
Types ¶
type Client ¶
type Client struct{}
Client represents a discarding backend.
func (Client) SendMetricsAsync ¶
func (Client) SendMetricsAsync(ctx context.Context, metrics *gostatsd.MetricMap, cb gostatsd.SendCallback)
SendMetricsAsync discards the metrics in a MetricsMap.
Click to show internal directories.
Click to hide internal directories.