From c6f712c5476d4fff4aba5fed9da2c1ec258e97a2 Mon Sep 17 00:00:00 2001 From: nikkiing <1031497516@qq.com> Date: Wed, 28 Jun 2023 17:32:31 +0800 Subject: [PATCH] tracer --- tracer/ali/ali_trace.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tracer/ali/ali_trace.go b/tracer/ali/ali_trace.go index cfe19c2..3e84780 100644 --- a/tracer/ali/ali_trace.go +++ b/tracer/ali/ali_trace.go @@ -17,8 +17,8 @@ type AliSLSConfig struct { AccessKeySecret string } -// Set global trace provider 设置链路追逐的方法 ali -func initTracerProvider(bc *AliSLSConfig) (*provider.Config, error) { +// 设置链路追逐的方法 ali +func InitTracerProvider(bc *AliSLSConfig) (*provider.Config, error) { slsConfig, err := provider.NewConfig(provider.WithServiceName(bc.Name), provider.WithServiceVersion(bc.Version), provider.WithServiceNamespace(bc.Env),