master
nikkiing 2 years ago
parent c27049b784
commit c6f712c547
  1. 4
      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),

Loading…
Cancel
Save