From 16dbdeec3e2a509c23819697c587f661643e9688 Mon Sep 17 00:00:00 2001 From: Natalia Goc Date: Mon, 20 May 2024 17:23:06 +0200 Subject: [PATCH] alias KeyValue to make users slightly more independent from otel --- pkg/attr/attr.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/attr/attr.go b/pkg/attr/attr.go index e284b62..e6a1e3d 100644 --- a/pkg/attr/attr.go +++ b/pkg/attr/attr.go @@ -12,6 +12,8 @@ import ( "go.opentelemetry.io/otel/trace" ) +type KeyValue = attribute.KeyValue + type IntoTraceAttribute interface { IntoTraceAttribute() attribute.KeyValue }