Documentation ¶
Index ¶
- type Factory
- func (f Factory) CreateDefaultConfig() configmodels.Exporter
- func (f Factory) CreateMetricsExporter(ctx context.Context, params component.ExporterCreateParams, ...) (component.MetricsExporter, error)
- func (f Factory) CreateTraceExporter(ctx context.Context, params component.ExporterCreateParams, ...) (component.TraceExporter, error)
- func (f Factory) Type() configmodels.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { // Wrapped is Jaeger receiver. Wrapped *jaegerexporter.Factory // Viper is used to get configuration values for default configuration Viper *viper.Viper }
Factory wraps jaegerexporter.Factory and makes the default config configurable via viper. For instance this enables using flags as default values in the config object.
func (Factory) CreateDefaultConfig ¶
func (f Factory) CreateDefaultConfig() configmodels.Exporter
CreateDefaultConfig returns default configuration of Factory. This function implements OTEL component.ExporterFactoryBase interface.
func (Factory) CreateMetricsExporter ¶
func (f Factory) CreateMetricsExporter( ctx context.Context, params component.ExporterCreateParams, cfg configmodels.Exporter, ) (component.MetricsExporter, error)
CreateMetricsExporter creates a metrics exporter based on provided config. This function implements component.ExporterFactory.
func (Factory) CreateTraceExporter ¶
func (f Factory) CreateTraceExporter( ctx context.Context, params component.ExporterCreateParams, cfg configmodels.Exporter, ) (component.TraceExporter, error)
CreateTraceExporter creates Jaeger trace exporter. This function implements OTEL component.ExporterFactory interface.
func (Factory) Type ¶
func (f Factory) Type() configmodels.Type
Type returns the type of the exporter.
Click to show internal directories.
Click to hide internal directories.