apiclarityexporter

package module
v0.0.0-...-6cfc1b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

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 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

Jump to

Keyboard shortcuts

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