Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignalFxSink ¶
type SignalFxSink struct {
// contains filtered or unexported fields
}
func NewSignalFxSink ¶
func NewSignalFxSink(apiKey string, endpoint string, hostnameTag string, hostname string, commonDimensions map[string]string, stats *statsd.Client, log *logrus.Logger, client dpsink.Sink) (*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.
Click to show internal directories.
Click to hide internal directories.