Documentation ¶
Overview ¶
Package tracing implements a tracing service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Flags = flag.NewFlagSet("", flag.ContinueOnError)
Flags has the flags used by the tracing service.
Functions ¶
Types ¶
type ServiceConfig ¶
type ServiceConfig struct { // Enabled is true if the service is enabled. Enabled bool // FlushInterval FlushInterval time.Duration // AgentAddress is the address of the tracing server. AgentAddress string // SamplerParam SamplerParam float64 }
ServiceConfig contains the configuration parameters for tracing.
func GetServiceConfig ¶
func GetServiceConfig() *ServiceConfig
GetServiceConfig gets the tracing configuration parameter struct.
Click to show internal directories.
Click to hide internal directories.