Checks whether span needs to be created and tracked.
a SamplingResult.
Parent Context which may contain a span.
of the span to be created. It can be different from the traceId in the SpanContext. Typically in situations when the span to be created starts a new trace.
of the span to be created.
of the span to be created.
Initial set of SpanAttributes for the Span being constructed.
Collection of links that will be associated with the Span to be created. Typically useful for batch operations.
Generated using TypeDoc
ApplicationInsightsSampler is responsible for the following: Implements same trace id hashing algorithm so that traces are sampled the same across multiple nodes Adds item count to span attribute if span is sampled (needed for ingestion service)
Param
0 to 1 value.