cassandraexporter

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: 8 Imported by: 0

Documentation

Overview

Package cassandraexporter implements Jaeger Cassandra storage as OpenTelemetry exporter.

Index

Constants

View Source
const (
	// TypeStr defines type of the Cassandra exporter.
	TypeStr = "jaeger_cassandra"
)

Variables

This section is empty.

Functions

func DefaultOptions

func DefaultOptions() *cassandra.Options

DefaultOptions creates Cassandra options supported by this exporter.

Types

type Config

type Config struct {
	configmodels.ExporterSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct.
	cassandra.Options             `mapstructure:",squash"`
}

Config holds configuration of Jaeger Cassandra exporter/storage.

type Factory

type Factory struct {
	OptionsFactory OptionsFactory
}

Factory is the factory for Jaeger Cassandra 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

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 (Factory) Type() configmodels.Type

Type gets the type of exporter.

type OptionsFactory

type OptionsFactory func() *cassandra.Options

OptionsFactory returns initialized cassandra.OptionsFactory structure.

Jump to

Keyboard shortcuts

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