Documentation ¶
Overview ¶
Package jaegergrpcexporter implements an exporter that sends trace data to a Jaeger collector gRPC endpoint.
Index ¶
- func New(exporterName, collectorEndpoint string) (exporter.TraceExporter, error)
- type Config
- type Factory
- func (f *Factory) CreateDefaultConfig() configmodels.Exporter
- func (f *Factory) CreateMetricsExporter(logger *zap.Logger, cfg configmodels.Exporter) (consumer.MetricsConsumer, exporter.StopFunc, error)
- func (f *Factory) CreateTraceExporter(logger *zap.Logger, config configmodels.Exporter) (consumer.TraceConsumer, exporter.StopFunc, error)
- func (f *Factory) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { configmodels.ExporterSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. Endpoint string `mapstructure:"endpoint"` }
Config defines configuration for Jaeger gRPC exporter.
type Factory ¶
type Factory struct { }
Factory is the factory for Jaeger gRPC exporter.
func (*Factory) CreateDefaultConfig ¶
func (f *Factory) CreateDefaultConfig() configmodels.Exporter
CreateDefaultConfig creates the default configuration for exporter.
func (*Factory) CreateMetricsExporter ¶
func (f *Factory) CreateMetricsExporter( logger *zap.Logger, cfg configmodels.Exporter, ) (consumer.MetricsConsumer, exporter.StopFunc, error)
CreateMetricsExporter creates a metrics exporter based on this config.
func (*Factory) CreateTraceExporter ¶
func (f *Factory) CreateTraceExporter( logger *zap.Logger, config configmodels.Exporter, ) (consumer.TraceConsumer, exporter.StopFunc, error)
CreateTraceExporter creates a trace exporter based on this config.
Click to show internal directories.
Click to hide internal directories.