Upgraded DataDog tracing library to 1.14.0
This commit is contained in:
parent
1f2fe08c33
commit
adc2b62c22
13 changed files with 485 additions and 60 deletions
5
vendor/gopkg.in/DataDog/dd-trace-go.v1/ddtrace/opentracer/option.go
generated
vendored
5
vendor/gopkg.in/DataDog/dd-trace-go.v1/ddtrace/opentracer/option.go
generated
vendored
|
@ -18,6 +18,11 @@ func ResourceName(name string) opentracing.StartSpanOption {
|
|||
return opentracing.Tag{Key: ext.ResourceName, Value: name}
|
||||
}
|
||||
|
||||
// SpanName sets the Datadog operation name for the span.
|
||||
func SpanName(name string) opentracing.StartSpanOption {
|
||||
return opentracing.Tag{Key: ext.SpanName, Value: name}
|
||||
}
|
||||
|
||||
// SpanType can be used with opentracing.StartSpan to set the type of a span.
|
||||
func SpanType(name string) opentracing.StartSpanOption {
|
||||
return opentracing.Tag{Key: ext.SpanType, Value: name}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue