alias KeyValue to make users slightly more independent from otel

This commit is contained in:
Natalia Goc 2024-05-20 17:23:06 +02:00
parent 265731010e
commit 16dbdeec3e

View File

@ -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
} }