From 50a37b34c59ae74e80c327a355d1fd7cbb96a375 Mon Sep 17 00:00:00 2001 From: smx_Moragn <1048492656@qq.com> Date: Wed, 23 Oct 2024 22:49:33 +0800 Subject: [PATCH] fix tracing ci --- tracing/testutil/otel.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tracing/testutil/otel.go b/tracing/testutil/otel.go index ba03961..80e1281 100644 --- a/tracing/testutil/otel.go +++ b/tracing/testutil/otel.go @@ -54,11 +54,6 @@ func OtelTestProvider() (*sdktrace.TracerProvider, otelmetric.MeterProvider, *pr "github.com/cloudwego-contrib/telemetry-opentelemetry", otelmetric.WithInstrumentationVersion(semantic.SemVersion()), ) - // Measure for server - meter = meterProvider.Meter( - "github.com/cloudwego-contrib/telemetry-opentelemetry", - otelmetric.WithInstrumentationVersion(semantic.SemVersion()), - ) serverRequestCountMeasure, err := meter.Int64Counter( semantic.BuildMetricName("http", "server", semantic.RequestCount), otelmetric.WithUnit("count"),