Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyServerRootCaPool = errors.New("empty server root ca cert pool")
ErrEmptyServerRootCaPool indicates that cert pool is empty and does not have any certificates inside.
View Source
var Propagator propagation.TextMapPropagator = &propagator{}
Propagator is propagation.TextMapPropagator instance, used to extract/inject trace info from/to remote context.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Enabled is true, if tracing enabled. Enabled bool // Exporter is collector type. Exporter Exporter // Endpoint is collector endpoint for OTLP exporters. Endpoint string // ServerCaCertPool is cert pool of the remote server CA certificate. Use for TLS setup. ServerCaCertPool *x509.CertPool // Service is service name that will be used in tracing. // Mandatory. Service string // InstanceID is identity of service instance. // Optional. InstanceID string // Version is version of service instance. // Optional. Version string // Attributes is KV list of attributes. // Optional. Attributes map[string]string }
Click to show internal directories.
Click to hide internal directories.