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