alias KeyValue to make users slightly more independent from otel
This commit is contained in:
parent
265731010e
commit
16dbdeec3e
@ -12,6 +12,8 @@ import (
|
|||||||
"go.opentelemetry.io/otel/trace"
|
"go.opentelemetry.io/otel/trace"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type KeyValue = attribute.KeyValue
|
||||||
|
|
||||||
type IntoTraceAttribute interface {
|
type IntoTraceAttribute interface {
|
||||||
IntoTraceAttribute() attribute.KeyValue
|
IntoTraceAttribute() attribute.KeyValue
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user