Documentation ¶
Index ¶
- func MetricViews(level telemetry.Level) []*view.View
- type Config
- type Factory
- func (f *Factory) CreateDefaultConfig() configmodels.Processor
- func (f *Factory) CreateMetricsProcessor(ctx context.Context, params component.ProcessorCreateParams, ...) (component.MetricsProcessor, error)
- func (f *Factory) CreateTraceProcessor(ctx context.Context, params component.ProcessorCreateParams, ...) (component.TraceProcessor, error)
- func (f *Factory) Type() configmodels.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { configmodels.ProcessorSettings `mapstructure:",squash"` // NumWorkers is the number of queue workers that dequeue batches and send them out. NumWorkers int `mapstructure:"num_workers"` // QueueSize is the maximum number of batches allowed in queue at a given time. QueueSize int `mapstructure:"queue_size"` // Retry indicates whether queue processor should retry span batches in case of processing failure. RetryOnFailure bool `mapstructure:"retry_on_failure"` // BackoffDelay is the amount of time a worker waits after a failed send before retrying. BackoffDelay time.Duration `mapstructure:"backoff_delay"` }
Config defines configuration for Attributes processor.
type Factory ¶
type Factory struct { }
Factory is the factory for OpenCensus exporter.
func (*Factory) CreateDefaultConfig ¶
func (f *Factory) CreateDefaultConfig() configmodels.Processor
CreateDefaultConfig creates the default configuration for exporter.
func (*Factory) CreateMetricsProcessor ¶
func (f *Factory) CreateMetricsProcessor( ctx context.Context, params component.ProcessorCreateParams, nextConsumer consumer.MetricsConsumer, cfg configmodels.Processor, ) (component.MetricsProcessor, error)
CreateMetricsProcessor creates a metrics processor based on this config.
func (*Factory) CreateTraceProcessor ¶
func (f *Factory) CreateTraceProcessor( ctx context.Context, params component.ProcessorCreateParams, nextConsumer consumer.TraceConsumer, cfg configmodels.Processor, ) (component.TraceProcessor, error)
CreateTraceProcessor creates a trace processor based on this config.
func (*Factory) Type ¶
func (f *Factory) Type() configmodels.Type
Type gets the type of the Option config created by this factory.
Click to show internal directories.
Click to hide internal directories.