Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultSourceAddress = "client:5280" DefaultStatusCode = "200" DefaultScheme = "http" DefaultTarget = "/" DefaultSpanKind = ptrace.SpanKindServer RequestBody = attribute.Key("request_body") ResponseBody = attribute.Key("response_body") )
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultConfig ¶
func CreateDefaultConfig() otelconfig.Exporter
func CreateTracesExporter ¶
func CreateTracesExporter( ctx context.Context, set component.ExporterCreateSettings, cfg otelconfig.Exporter, ) (component.TracesExporter, error)
func NewFactory ¶
func NewFactory() component.ExporterFactory
NewFactory creates a factory for OTLP exporter.
Types ¶
type Config ¶
type Config struct { otelconfig.ExporterSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct confighttp.HTTPClientSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. exporterhelper.QueueSettings `mapstructure:"sending_queue"` exporterhelper.RetrySettings `mapstructure:"retry_on_failure"` PreferHostNames bool `mapstructure:"prefer_hostnames"` }
Config defines configuration for APIClarity HTTP exporter.
Click to show internal directories.
Click to hide internal directories.