"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pkg/tracing/datadog/datadog.go" between
traefik-v2.3.2.src.tar.gz and traefik-v2.3.3.src.tar.gz

About: Traefik is a cloud native edge router, a reverse proxy and load balancer for HTTP and TCP-based applications.

datadog.go  (traefik-v2.3.2.src):datadog.go  (traefik-v2.3.3.src)
skipping to change at line 21 skipping to change at line 21
) )
// Name sets the name of this tracer. // Name sets the name of this tracer.
const Name = "datadog" const Name = "datadog"
// Config provides configuration settings for a datadog tracer. // Config provides configuration settings for a datadog tracer.
type Config struct { type Config struct {
LocalAgentHostPort string `description:"Set datadog-agent's host: port that the reporter will used." json:"localAgentHostPort,omitempty" toml:"loc alAgentHostPort,omitempty" yaml:"localAgentHostPort,omitempty"` LocalAgentHostPort string `description:"Set datadog-agent's host: port that the reporter will used." json:"localAgentHostPort,omitempty" toml:"loc alAgentHostPort,omitempty" yaml:"localAgentHostPort,omitempty"`
GlobalTag string `description:"Key:Value tag to be set o n all the spans." json:"globalTag,omitempty" toml:"globalTag,omitempty" yaml:"gl obalTag,omitempty" export:"true"` GlobalTag string `description:"Key:Value tag to be set o n all the spans." json:"globalTag,omitempty" toml:"globalTag,omitempty" yaml:"gl obalTag,omitempty" export:"true"`
Debug bool `description:"Enable Datadog debug." js on:"debug,omitempty" toml:"debug,omitempty" yaml:"debug,omitempty" export:"true" ` Debug bool `description:"Enable Datadog debug." js on:"debug,omitempty" toml:"debug,omitempty" yaml:"debug,omitempty" export:"true" `
PrioritySampling bool `description:"Enable priority sampling. When using distributed tracing, this option must be enabled in order to get all the parts of a distributed trace sampled." json:"prioritySampling,omitempty" to ml:"prioritySampling,omitempty" yaml:"prioritySampling,omitempty"` PrioritySampling bool `description:"Enable priority sampling. When using distributed tracing, this option must be enabled in order to get all the parts of a distributed trace sampled." json:"prioritySampling,omitempty" to ml:"prioritySampling,omitempty" yaml:"prioritySampling,omitempty" export:"true"`
TraceIDHeaderName string `description:"Specifies the header name that will be used to store the trace ID." json:"traceIDHeaderName,omitempty" to ml:"traceIDHeaderName,omitempty" yaml:"traceIDHeaderName,omitempty" export:"true "` TraceIDHeaderName string `description:"Specifies the header name that will be used to store the trace ID." json:"traceIDHeaderName,omitempty" to ml:"traceIDHeaderName,omitempty" yaml:"traceIDHeaderName,omitempty" export:"true "`
ParentIDHeaderName string `description:"Specifies the header name that will be used to store the parent ID." json:"parentIDHeaderName,omitempty" toml:"parentIDHeaderName,omitempty" yaml:"parentIDHeaderName,omitempty" export:" true"` ParentIDHeaderName string `description:"Specifies the header name that will be used to store the parent ID." json:"parentIDHeaderName,omitempty" toml:"parentIDHeaderName,omitempty" yaml:"parentIDHeaderName,omitempty" export:" true"`
SamplingPriorityHeaderName string `description:"Specifies the header name that will be used to store the sampling priority." json:"samplingPriorityHeader Name,omitempty" toml:"samplingPriorityHeaderName,omitempty" yaml:"samplingPriori tyHeaderName,omitempty" export:"true"` SamplingPriorityHeaderName string `description:"Specifies the header name that will be used to store the sampling priority." json:"samplingPriorityHeader Name,omitempty" toml:"samplingPriorityHeaderName,omitempty" yaml:"samplingPriori tyHeaderName,omitempty" export:"true"`
BagagePrefixHeaderName string `description:"Specifies the header name prefix that will be used to store baggage items in a map." json:"bagagePrefixHe aderName,omitempty" toml:"bagagePrefixHeaderName,omitempty" yaml:"bagagePrefixHe aderName,omitempty" export:"true"` BagagePrefixHeaderName string `description:"Specifies the header name prefix that will be used to store baggage items in a map." json:"bagagePrefixHe aderName,omitempty" toml:"bagagePrefixHeaderName,omitempty" yaml:"bagagePrefixHe aderName,omitempty" export:"true"`
} }
// SetDefaults sets the default values. // SetDefaults sets the default values.
func (c *Config) SetDefaults() { func (c *Config) SetDefaults() {
c.LocalAgentHostPort = "localhost:8126" c.LocalAgentHostPort = "localhost:8126"
c.GlobalTag = "" c.GlobalTag = ""
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)