From cfda625e83a164c9e19745392879c32aedcfe76f Mon Sep 17 00:00:00 2001 From: Nicholas Volker <45795784+nvolker@users.noreply.github.com> Date: Tue, 19 Apr 2022 19:40:34 +0200 Subject: [PATCH] Update example in ContextZone README.md (#2909) --- packages/opentelemetry-context-zone/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-context-zone/README.md b/packages/opentelemetry-context-zone/README.md index 0fe0cdb69fb..19ba5309017 100644 --- a/packages/opentelemetry-context-zone/README.md +++ b/packages/opentelemetry-context-zone/README.md @@ -23,7 +23,7 @@ import { ZoneContextManager } from '@opentelemetry/context-zone'; const providerWithZone = new WebTracerProvider(); providerWithZone.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter())); -provider.register({ +providerWithZone.register({ contextManager: new ZoneContextManager() });