SentryTransactionContext class
- Inheritance
-
- Object
- SentrySpanContext
- SentryTransactionContext
Constructors
- SentryTransactionContext.new(String name, String operation, {String? description, SentryId? traceId, SpanId? spanId, SpanId? parentSpanId, SentryTransactionNameSource? transactionNameSource, SentryTracesSamplingDecision? samplingDecision, SentryTracesSamplingDecision? parentSamplingDecision, String? origin})
- SentryTransactionContext.fromSentryTrace(String name, String operation, SentryTraceHeader traceHeader, {SentryTransactionNameSource? transactionNameSource, SentryBaggage? baggage})
-
factory
Properties
- description ↔ String?
-
Longer description of the span's operation, which uniquely identifies the span but is
consistent across instances of the span.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
getter/setter pair
- operation ↔ String
-
Short code identifying the type of operation the span is measuring
getter/setter pairinherited
- origin ↔ String?
-
The origin of the span indicates what created the span.
getter/setter pairinherited
- parentSamplingDecision ↔ SentryTracesSamplingDecision?
-
getter/setter pair
- parentSpanId ↔ SpanId?
-
Id of a parent span
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- samplingDecision ↔ SentryTracesSamplingDecision?
-
getter/setter pair
- spanId ↔ SpanId
-
Span id
getter/setter pairinherited
- traceId ↔ SentryId
-
Determines which trace the Span belongs to
getter/setter pairinherited
- transactionNameSource ↔ SentryTransactionNameSource?
-
getter/setter pair
Methods
-
copyWith(
{String? name, String? operation, String? description, SentryTracesSamplingDecision? parentSamplingDecision, SentryId? traceId, SpanId? spanId, SpanId? parentSpanId, SentryTransactionNameSource? transactionNameSource, SentryTracesSamplingDecision? samplingDecision, String? origin}) → SentryTransactionContext -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Item encoded as JSON
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toTraceContext(
{bool? sampled, SpanStatus? status, Map< String, dynamic> ? data}) → SentryTraceContext -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited