Skip to content

Commit cfda625

Browse files
authored
Update example in ContextZone README.md (#2909)
1 parent f924669 commit cfda625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/opentelemetry-context-zone/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { ZoneContextManager } from '@opentelemetry/context-zone';
2323

2424
const providerWithZone = new WebTracerProvider();
2525
providerWithZone.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter()));
26-
provider.register({
26+
providerWithZone.register({
2727
contextManager: new ZoneContextManager()
2828
});
2929

0 commit comments

Comments
 (0)