Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromRemoteWriteSink ¶
type PromRemoteWriteSink struct {
// contains filtered or unexported fields
}
func (*PromRemoteWriteSink) Push ¶
func (s *PromRemoteWriteSink) Push(ctx context.Context, batch *pb.PodNetworkMetricBatch) error
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
Click to show internal directories.
Click to hide internal directories.