Documentation ¶
Index ¶
Constants ¶
View Source
const ( KafkaSink Sink = "kafka" StdOutSink = "stdout" NewRelicSink = "new_relic" KentikSink = "kentik" FileSink = "file" NetSink = "net" HttpSink = "http" SplunkSink = "splunk" PromSink = "prometheus" S3Sink = "s3" GCloudSink = "gcloud" GCPPubSub = "gcppubsub" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SinkImpl ¶
type SinkImpl interface { Init(context.Context, formats.Format, kt.Compression, formats.Formatter) error Send(context.Context, *kt.Output) Close() HttpInfo() map[string]float64 }
func NewSink ¶
func NewSink(sink Sink, log logger.Underlying, registry go_metrics.Registry, tooBig chan int, conf *kt.KentikConfig, logTee chan string) (SinkImpl, error)
Click to show internal directories.
Click to hide internal directories.