Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetricSinkFromURL ¶
NewMetricSinkFromURL allows a generic URL input to configure any of the supported sinks. The scheme of the URL identifies the type of the sink, the and query parameters are used to set options.
"statsd://" - Initializes a StatsdSink. The host and port are passed through as the "addr" of the sink
"statsite://" - Initializes a StatsiteSink. The host and port become the "addr" of the sink
"inmem://" - Initializes an InmemSink. The host and port are ignored. The "interval" and "retain" query parameters must be specified with valid durations, see NewInmemSink for details.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.