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.Exporterfunc 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.
func (*Config) Validate ¶func (cfg *Config) Validate() error
Validate checks if the exporter configuration is valid
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4