sinks

package
v0.12.8 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPSink

type HTTPSink struct {
	// contains filtered or unexported fields
}

func (*HTTPSink) Push

func (s *HTTPSink) Push(ctx context.Context, batch *pb.PodNetworkMetricBatch) error

type PromRemoteWriteSink

type PromRemoteWriteSink struct {
	// contains filtered or unexported fields
}

func (*PromRemoteWriteSink) Push

type Sink

type Sink interface {
	Push(ctx context.Context, batch *pb.PodNetworkMetricBatch) error
}

func NewHTTPSink

func NewHTTPSink(log logrus.FieldLogger, sinkName string, cfg config.SinkHTTPConfig, binVersion string) Sink

func NewPromRemoteWriteSink

func NewPromRemoteWriteSink(log logrus.FieldLogger, sinkName string, cfg config.SinkPromRemoteWriteConfig) Sink

Jump to

Keyboard shortcuts

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