From 8ae3b69f1bd977f85e830b58cde49d006a0dd0b3 Mon Sep 17 00:00:00 2001 From: Flc Date: Mon, 25 Nov 2024 22:17:57 +0800 Subject: [PATCH] refactor(otelecho): refine span name formatter and tests --- .../github.com/labstack/echo/otelecho/test/echo_test.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/instrumentation/github.com/labstack/echo/otelecho/test/echo_test.go b/instrumentation/github.com/labstack/echo/otelecho/test/echo_test.go index b3db4a2682f..5d1c8e9d361 100644 --- a/instrumentation/github.com/labstack/echo/otelecho/test/echo_test.go +++ b/instrumentation/github.com/labstack/echo/otelecho/test/echo_test.go @@ -12,18 +12,15 @@ import ( "testing" "github.com/labstack/echo/v4" - "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho" "go.opentelemetry.io/otel" + "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/sdk/trace" "go.opentelemetry.io/otel/sdk/trace/tracetest" - - "go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho" - - "go.opentelemetry.io/otel/attribute" oteltrace "go.opentelemetry.io/otel/trace" )