Documentation
¶
Index ¶
- type DPClient
- type SignalFxSink
- func (sfx *SignalFxSink) Flush(ctx context.Context, interMetrics []samplers.InterMetric) error
- func (sfx *SignalFxSink) FlushEventsChecks(ctx context.Context, events []samplers.UDPEvent, ...)
- func (sfx *SignalFxSink) Name() string
- func (sfx *SignalFxSink) SetExcludedTags(excludes []string)
- func (sfx *SignalFxSink) Start(traceClient *trace.Client) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DPClient ¶
A DPClient is a client that can be used to submit signalfx data points to an upstream consumer. It wraps the dpsink.Sink interface.
type SignalFxSink ¶
type SignalFxSink struct {
// contains filtered or unexported fields
}
SignalFxSink is a MetricsSink implementation.
func NewSignalFxSink ¶
func NewSignalFxSink(hostnameTag string, hostname string, commonDimensions map[string]string, log *logrus.Logger, client DPClient, varyBy string, perTagClients map[string]DPClient) (*SignalFxSink, error)
NewSignalFxSink creates a new SignalFx sink for metrics.
func (*SignalFxSink) Flush ¶
func (sfx *SignalFxSink) Flush(ctx context.Context, interMetrics []samplers.InterMetric) error
Flush sends metrics to SignalFx
func (*SignalFxSink) FlushEventsChecks ¶
func (sfx *SignalFxSink) FlushEventsChecks(ctx context.Context, events []samplers.UDPEvent, checks []samplers.UDPServiceCheck)
FlushEventsChecks sends events to SignalFx. It does not support checks. It is also currently disabled.
func (*SignalFxSink) Name ¶
func (sfx *SignalFxSink) Name() string
Name returns the name of this sink.
func (*SignalFxSink) SetExcludedTags ¶
func (sfx *SignalFxSink) SetExcludedTags(excludes []string)
SetTagExcludes sets the excluded tag names. Any tags with the provided key (name) will be excluded.
Click to show internal directories.
Click to hide internal directories.