From b21450d8111d8b4104be16d0a0a656cc15dba8e3 Mon Sep 17 00:00:00 2001 From: Saman Mahdanian Date: Sat, 24 Feb 2024 19:59:57 +0330 Subject: [PATCH] fix typo in tracing init in main --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 11aa1e4..5918a59 100644 --- a/main.go +++ b/main.go @@ -86,7 +86,7 @@ func main() { case "http": err = tracing.SetTracingProvider(tracing.HTTPTracingProvider, st.Tracing.SamplingRatio, st.Tracing.Timeout) case "grpc": - err = tracing.SetTracingProvider(tracing.HTTPTracingProvider, st.Tracing.SamplingRatio, st.Tracing.Timeout) + err = tracing.SetTracingProvider(tracing.GRPCTracingProvider, st.Tracing.SamplingRatio, st.Tracing.Timeout) default: err = fmt.Errorf("invalid-tracing-provider") }