GitHubnpm
  • Preparing search index...
  • The search index is not available
@microsoft/applicationinsights-core-js - v3.3.11
  • @microsoft/applicationinsights-core-js
  • createNonRecordingSpan

Function createNonRecordingSpan

  • createNonRecordingSpan(otelApi, spanName, spanContext): IReadableSpan
  • Return a non-recording span based on the provided spanContext using the otelApi instance as the owning instance.

    Parameters

    • otelApi: IOTelApi

      The otelApi to use for creating the non-Recording Span

    • spanName: string

      The span name to associated with the span

    • spanContext: IDistributedTraceInit | IDistributedTraceContext | IOTelSpanContext

      The Span context to use for the span

    Returns IReadableSpan

    A new span that is marked as a non-recording span

    • Defined in otel/api/trace/utils.ts:277

Settings

Member Visibility
ChangelogReadmeGitHubnpm
@microsoft/applicationinsights-core-js - v3.3.11
  • Loading...

Generated using TypeDoc