Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudTraceConfig ¶ added in v4.2.0
type CloudTraceConfig struct { Project string `json:"project" yaml:"project"` SamplingRatio float64 `json:"sampling_ratio" yaml:"sampling_ratio"` Tags map[string]string `json:"tags" yaml:"tags"` FlushInterval string `json:"flush_interval" yaml:"flush_interval"` }
CloudTraceConfig is config for the Google Cloud Trace tracer.
func NewCloudTraceConfig ¶ added in v4.2.0
func NewCloudTraceConfig() CloudTraceConfig
NewCloudTraceConfig creates an CloudTraceConfig struct with default values.
type Config ¶
type Config struct { Type string `json:"type" yaml:"type"` Jaeger JaegerConfig `json:"jaeger" yaml:"jaeger"` CloudTrace CloudTraceConfig `json:"gcp_cloudtrace" yaml:"gcp_cloudtrace"` None struct{} `json:"none" yaml:"none"` Plugin interface{} `json:"plugin,omitempty" yaml:"plugin,omitempty"` }
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.