prometheusremotewritereceiver

package module
v0.0.0-...-dbfd177 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() component.ReceiverFactory

NewFactory creates a factory for the prometheusremotewrite receiver

func NewMetricsReceiver

func NewMetricsReceiver(logger *zap.Logger, config *Config,
	nextConsumer consumer.MetricsConsumer) (component.MetricsReceiver, error)

NewMetricsReceiver creates the PrometheusRemoteWriteReceiver

Types

type Config

type Config struct {
	configmodels.ReceiverSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct
	confighttp.HTTPServerSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct
}

Config defines configuration for the SignalFx receiver.

type PromRemoteWriteReceiver

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

func (*PromRemoteWriteReceiver) Shutdown

func (p *PromRemoteWriteReceiver) Shutdown(ctx context.Context) error

func (*PromRemoteWriteReceiver) Start

Jump to

Keyboard shortcuts

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