var ( // Transport is the default tracing RoundTripper. The custom options setter will control // if traces are being emitted or not. Transport = NewTransport() )
Disable will disable instrumentation for metrics and traces.
Enable will start instrumentation for metrics and traces.
EnableWithAIForwarding will start instrumentation and will connect to app insights forwarder exporter making the metrics and traces available in app insights.
EndSpan ends a previously started span stored in the context
IsEnabled returns true if monitoring is enabled for the sdk.
NewTransport returns a new instance of a tracing-aware RoundTripper.
StartSpan starts a trace span