tracing

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtocolGRPC         = "grpc"
	ProtocolHTTPProtobuf = "http/protobuf"
	ProtocolNone         = "none"
	ProtocolStdout       = "stdout"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Protocol     string  `json:"protocol,omitempty"`
	Endpoint     string  `json:"endpoint,omitempty"`
	SamplingRate float64 `json:"samplingRate,omitempty"`
}

func DefaultConfig

func DefaultConfig() Config

func NewFromMap

func NewFromMap(m map[string]string) (Config, error)

func NewFromMapWithPrefix

func NewFromMapWithPrefix(prefix string, m map[string]string) (Config, error)

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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