Documentation ¶
Index ¶
- type Config
- type Factory
- func (f *Factory) CreateDefaultConfig() configmodels.Receiver
- func (f *Factory) CreateMetricsReceiver(logger *zap.Logger, cfg configmodels.Receiver, ...) (component.MetricsReceiver, error)
- func (f *Factory) CreateTraceReceiver(ctx context.Context, logger *zap.Logger, cfg configmodels.Receiver, ...) (component.TraceReceiver, error)
- func (f *Factory) CustomUnmarshaler() component.CustomUnmarshaler
- func (f *Factory) Type() configmodels.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { configmodels.ReceiverSettings `mapstructure:",squash"` // CollectionInterval is the interval at which metrics should be collected CollectionInterval time.Duration `mapstructure:"collection_interval"` // MetricsPath the path to the metrics endpoint. MetricsPath string `mapstructure:"metrics_path"` // Whether or not to use pod service account to authenticate. UseServiceAccount bool `mapstructure:"use_service_account"` // contains filtered or unexported fields }
Config defines configuration for simple prometheus receiver.
type Factory ¶
type Factory struct { }
Factory is the factory for SignalFx receiver.
func (*Factory) CreateDefaultConfig ¶
func (f *Factory) CreateDefaultConfig() configmodels.Receiver
CreateDefaultConfig creates the default configuration for Jaeger receiver.
func (*Factory) CreateMetricsReceiver ¶
func (f *Factory) CreateMetricsReceiver( logger *zap.Logger, cfg configmodels.Receiver, consumer consumer.MetricsConsumerOld, ) (component.MetricsReceiver, error)
CreateMetricsReceiver creates a metrics receiver based on provided Config.
func (*Factory) CreateTraceReceiver ¶
func (f *Factory) CreateTraceReceiver( ctx context.Context, logger *zap.Logger, cfg configmodels.Receiver, consumer consumer.TraceConsumerOld, ) (component.TraceReceiver, error)
CreateTraceReceiver creates a trace receiver based on provided Config.
func (*Factory) CustomUnmarshaler ¶
func (f *Factory) CustomUnmarshaler() component.CustomUnmarshaler
CustomUnmarshaler returns nil because we don't need custom unmarshaling for this Config.
func (*Factory) Type ¶
func (f *Factory) Type() configmodels.Type
Type gets the type of the Receiver Config created by this factory.
Click to show internal directories.
Click to hide internal directories.