Skip to content

Azure Core - Tracing Readme Issue #17369

Closed

Description

Section link:

image

Reason:
Run error.

Suggestion:

  1. Update BasicTracer to BasicTracerProvider
  2. Remove const { setTracer } = require ("@azure/core-tracing")
  3. Update setTracer(tracer) to opentelemetry.trace.setGlobalTracerProvider(tracer)
  4. Update tracer.startSpan to tracer.getTracer().startSpan
  5. Update opentelemetry.setSpan to opentelemetry.trace.setSpan.

@joshfree ,@ramya-rao-a and @chradek for notification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions