memoryexporter

package
v0.0.0-...-5deca64 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package memoryexporter implements Jaeger in-memory storage as OpenTelemetry exporter.

Index

Constants

View Source
const TypeStr = "jaeger_memory"

TypeStr defines exporter type.

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(flags *flag.FlagSet)

AddFlags adds flags

func GetFactory

func GetFactory() storage.Factory

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 NewFactory

func NewFactory(v *viper.Viper) *Factory

NewFactory creates Factory.

func (Factory) CreateDefaultConfig

func (f Factory) CreateDefaultConfig() configmodels.Exporter

CreateDefaultConfig returns default configuration of Factory. This function implements OTEL component.ExporterFactoryBase interface.

func (Factory) CreateLogsExporter

CreateLogsExporter creates a metrics exporter based on provided config. This function implements component.ExporterFactory.

func (Factory) CreateMetricsExporter

CreateMetricsExporter is not implemented. This function implements OTEL component.Factory interface.

func (Factory) CreateTracesExporter

CreateTracesExporter creates Jaeger Kafka trace exporter. This function implements OTEL component.ExporterFactory interface.

func (Factory) Type

func (f Factory) Type() configmodels.Type

Type gets the type of exporter.

Jump to

Keyboard shortcuts

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