SentryTransaction class

Inheritance
Annotations
  • @immutable

Constructors

SentryTransaction(SentryTracer tracer, {SentryId? eventId, DateTime? timestamp, String? platform, String? serverName, String? release, String? dist, String? environment, String? transaction, dynamic throwable, Map<String, String>? tags, @Deprecated('Additional Data is deprecated in favor of structured [Contexts] and should be avoided when possible') Map<String, dynamic>? extra, SentryUser? user, Contexts? contexts, List<Breadcrumb>? breadcrumbs, SdkVersion? sdk, SentryRequest? request, String? type, Map<String, SentryMeasurement>? measurements, SentryTransactionInfo? transactionInfo})

Properties

List of breadcrumbs for this event.
finalinherited
contexts → Contexts
The context interfaces provide additional context data. Typically this is data related to the current user, the current HTTP request.
finalinherited
culprit → String?
What caused this event to be logged.
finalinherited
debugMeta → DebugMeta?
The debug meta interface carries debug information for processing errors and crash reports.
finalinherited
dist → String?
The distribution of the application.
finalinherited
environment → String?
The environment that logged the event, e.g. "production", "staging".
finalinherited
eventId → SentryId
The ID Sentry.io assigned to the submitted event for future reference.
finalinherited
exceptions → List<SentryException>?
One or multiple chained (nested) exceptions that occurred in a program.
finalinherited
extra → Map<String, dynamic>?
Arbitrary name/value pairs attached to the event.
finalinherited
fingerprint → List<String>?
Used to deduplicate events by grouping ones with the same fingerprint together.
finalinherited
finished → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
level → SentryLevel?
How important this event is.
finalinherited
logger → String?
The logger that logged the event.
finalinherited
measurements ↔ Map<String, SentryMeasurement>
latefinal
message → SentryMessage?
Event message.
finalinherited
modules → Map<String, String>?
A list of relevant modules and their versions.
finalinherited
platform → String?
A string representing the platform the SDK is submitting from. This will be used by the Sentry interface to customize various components in the interface.
finalinherited
release → String?
The version of the application that logged the event.
finalinherited
request → SentryRequest?
Contains information on a HTTP request related to the event. In client, this can be an outgoing request, or the request that rendered the current web page. On server, this could be the incoming web request that is being handled
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampled → bool
no setter
sdk → SdkVersion?
The SDK Interface describes the Sentry SDK and its configuration used to capture and transmit an event.
finalinherited
serverName → String?
Identifies the server that logged this event.
finalinherited
spans ↔ List<SentrySpan>
latefinal
startTimestamp ↔ DateTime
latefinal
tags → Map<String, String>?
Name/value pairs that events can be searched by.
finalinherited
threads → List<SentryThread>?
The Threads Interface specifies threads that were running at the time an event happened. These threads can also contain stack traces. Typically not needed in Dart applications.
finalinherited
throwable → dynamic
An object that was thrown.
no setterinherited
throwableMechanism → dynamic
A throwable decorator that holds a Mechanism related to the decorated throwable
no setterinherited
timestamp → DateTime?
A timestamp representing when the event occurred.
finalinherited
transaction → String?
The name of the transaction which generated this event, for example, the route name: "/users/<username>/".
finalinherited
transactionInfo ↔ SentryTransactionInfo?
latefinal
type → String?
The event type determines how Sentry handles the event and has an impact on processing, rate limiting, and quotas. defaults to 'default'
finalinherited
user → SentryUser?
Information about the current user.
finalinherited

Methods

copyWith({SentryId? eventId, DateTime? timestamp, String? platform, String? logger, String? serverName, String? release, String? dist, String? environment, Map<String, String>? modules, SentryMessage? message, String? transaction, dynamic throwable, SentryLevel? level, String? culprit, Map<String, String>? tags, Map<String, dynamic>? extra, List<String>? fingerprint, SentryUser? user, Contexts? contexts, List<Breadcrumb>? breadcrumbs, SdkVersion? sdk, SentryRequest? request, DebugMeta? debugMeta, List<SentryException>? exceptions, List<SentryThread>? threads, String? type, Map<String, SentryMeasurement>? measurements, SentryTransactionInfo? transactionInfo}) → SentryTransaction
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this event to JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited