sinks

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

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 Sink

type Sink string

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL