fix: datadog tracer
This commit is contained in:
parent
8faed97e74
commit
679975beec
3 changed files with 197 additions and 170 deletions
|
@ -48,7 +48,7 @@ func (c *Config) SetDefaults() {
|
|||
// Setup sets up the tracer.
|
||||
func (c *Config) Setup(serviceName string) (opentracing.Tracer, io.Closer, error) {
|
||||
opts := []datadog.StartOption{
|
||||
datadog.WithServiceName(serviceName),
|
||||
datadog.WithService(serviceName),
|
||||
datadog.WithDebugMode(c.Debug),
|
||||
datadog.WithPropagator(datadog.NewPropagator(&datadog.PropagatorConfig{
|
||||
TraceHeader: c.TraceIDHeaderName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue