From 0da80272a5b3725e1a8cd2bca1c90d01820a4f66 Mon Sep 17 00:00:00 2001 From: Phillip Carter Date: Thu, 2 May 2024 14:18:10 -0700 Subject: [PATCH] Correct the http and grpc API calls for Go (#4413) --- content/en/docs/languages/go/exporters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/languages/go/exporters.md b/content/en/docs/languages/go/exporters.md index 08554aefed59..954b371fc866 100644 --- a/content/en/docs/languages/go/exporters.md +++ b/content/en/docs/languages/go/exporters.md @@ -94,7 +94,7 @@ import ( ) func newExporter(ctx context.Context) (trace.SpanExporter, error) { - return otlptracehttp.New(ctx, client) + return otlptracehttp.New(ctx) } ``` @@ -112,7 +112,7 @@ import ( ) func newExporter(ctx context.Context) (trace.SpanExporter, error) { - return otlptracegrpc.New(ctx, client) + return otlptracegrpc.New(ctx) } ```