Documentation ¶
Overview ¶
Package otlpexporter exports data by using the OTLP format to a gPRC endpoint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for OTLP exporter.
Types ¶
type ArrowSettings ¶
type ArrowSettings struct { Enabled bool `mapstructure:"enabled"` NumStreams int `mapstructure:"num_streams"` DisableDowngrade bool `mapstructure:"disable_downgrade"` }
ArrowSettings includes whether Arrow is enabled and the number of concurrent Arrow streams.
func (*ArrowSettings) Validate ¶
func (cfg *ArrowSettings) Validate() error
Validate returns an error when the number of streams is less than 1.
type Config ¶
type Config struct { exporterhelper.TimeoutSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. exporterhelper.QueueSettings `mapstructure:"sending_queue"` exporterhelper.RetrySettings `mapstructure:"retry_on_failure"` configgrpc.GRPCClientSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. Arrow ArrowSettings `mapstructure:"arrow"` }
Config defines configuration for OpenCensus exporter.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
arrow/grpcmock
Package grpcmock is a generated GoMock package.
|
Package grpcmock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.