Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Type string `json:"type" yaml:"type"` Jaeger JaegerConfig `json:"jaeger" yaml:"jaeger"` None struct{} `json:"none" yaml:"none"` }
Config is the all encompassing configuration struct for all tracer types.
type JaegerConfig ¶
type JaegerConfig struct { AgentAddress string `json:"agent_address" yaml:"agent_address"` CollectorURL string `json:"collector_url" yaml:"collector_url"` SamplerType string `json:"sampler_type" yaml:"sampler_type"` SamplerParam float64 `json:"sampler_param" yaml:"sampler_param"` Tags map[string]string `json:"tags" yaml:"tags"` FlushInterval string `json:"flush_interval" yaml:"flush_interval"` }
JaegerConfig is config for the Jaeger metrics type.
func NewJaegerConfig ¶
func NewJaegerConfig() JaegerConfig
NewJaegerConfig creates an JaegerConfig struct with default values.
Click to show internal directories.
Click to hide internal directories.