Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompositeCloser ¶
CompositeCloser creates a new io.Closer whos Close() method calls close of each of the closers
func ForwarderDims ¶
ForwarderDims are the common stat dimensions we expect on forwarder protocols
Types ¶
type CompositeListener ¶
CompositeListener is a helper struct that expects users to inject their own versions of each type
type DatapointForwarder ¶ added in v0.9.0
DatapointForwarder can send datapoints and not events
type Forwarder ¶
Forwarder is the basic interface endpoints must support for the proxy to forward to them
type Listener ¶
Listener is the basic interface anything that listens for new metrics must implement
type OkCloser ¶
type OkCloser func()
OkCloser allows any function to become a io.Closer that returns nil and calls itself on close
type UneventfulForwarder ¶ added in v0.9.0
type UneventfulForwarder struct {
DatapointForwarder
}
UneventfulForwarder converts a datapoint only forwarder into a datapoint/event forwarder