You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-12-07 23:32:49 +02:00
add WithSpanKind option to span creation (#234)
* add WithSpanKind option to span creation * change SpanKind to string alias and add support for SpanKind on ot bridge * fix tests * fix import order * fix nits
This commit is contained in:
committed by
rghetia
parent
8cb3786789
commit
5e3a2105b9
@@ -27,7 +27,7 @@ import (
|
||||
type SpanData struct {
|
||||
SpanContext core.SpanContext
|
||||
ParentSpanID uint64
|
||||
SpanKind int
|
||||
SpanKind apitrace.SpanKind
|
||||
Name string
|
||||
StartTime time.Time
|
||||
// The wall clock time of EndTime will be adjusted to always be offset
|
||||
|
||||
Reference in New Issue
Block a user