badgerexporter

package
v0.0.0-...-3f6bfc6 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package badgerexporter implements Jaeger Badger storage as OpenTelemetry exporter.

Index

Constants

View Source
const (
	// TypeStr defines type of the Badger exporter.
	TypeStr = "jaeger_badger"
)

Variables

This section is empty.

Functions

func DefaultOptions

func DefaultOptions() *badger.Options

DefaultOptions creates Badger options supported by this exporter.

func GetFactory

func GetFactory() storage.Factory

GetFactory returns singleton instance of the storage factory.

Types

type Config

type Config struct {
	badger.Options                `mapstructure:",squash"`
	configmodels.ExporterSettings `mapstructure:",squash"`
}

Config holds configuration of Jaeger Badger exporter/storage.

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

Factory is the factory for Jaeger Cassandra exporter.

func NewFactory

func NewFactory(optionsFactory OptionsFactory) *Factory

NewFactory creates new Factory instance.

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

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

func (Factory) CreateTraceExporter

CreateTraceExporter creates Jaeger Cassandra trace exporter. This function implements OTEL component.ExporterFactory interface.

func (Factory) Type

func (f Factory) Type() configmodels.Type

Type gets the type of exporter.

type OptionsFactory

type OptionsFactory func() *badger.Options

OptionsFactory returns initialized badger.Options structure.

Jump to

Keyboard shortcuts

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