Documentation ¶
Overview ¶
Package memoryexporter implements Jaeger in-memory storage as OpenTelemetry exporter.
Index ¶
- Constants
- func AddFlags(flags *flag.FlagSet)
- func GetFactory() storage.Factory
- type Config
- type Factory
- func (f Factory) CreateDefaultConfig() configmodels.Exporter
- func (Factory) CreateMetricsExporter(_ context.Context, _ component.ExporterCreateParams, _ configmodels.Exporter) (component.MetricsExporter, error)
- func (f Factory) CreateTraceExporter(_ context.Context, params component.ExporterCreateParams, ...) (component.TraceExporter, error)
- func (f Factory) Type() configmodels.Type
Constants ¶
View Source
const TypeStr = "jaeger_memory"
TypeStr defines exporter type.
Variables ¶
This section is empty.
Functions ¶
func GetFactory ¶
GetFactory returns singleton instance of the storage factory.
Types ¶
type Config ¶
type Config struct { configmodels.ExporterSettings `mapstructure:",squash"` memory.Options `mapstructure:",squash"` }
Config holds configuration of Jaeger in-memory storage.
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory is the factory for Jaeger in-memory exporter.
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 (Factory) CreateMetricsExporter( _ context.Context, _ component.ExporterCreateParams, _ configmodels.Exporter, ) (component.MetricsExporter, error)
CreateMetricsExporter is not implemented. This function implements OTEL component.Factory interface.
func (Factory) CreateTraceExporter ¶
func (f Factory) CreateTraceExporter( _ context.Context, params component.ExporterCreateParams, cfg configmodels.Exporter, ) (component.TraceExporter, error)
CreateTraceExporter creates Jaeger Kafka trace exporter. This function implements OTEL component.ExporterFactory interface.
Click to show internal directories.
Click to hide internal directories.