SentryTransaction class
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 , SentryUser ? user , Contexts ? contexts , List <Breadcrumb > ? breadcrumbs , SdkVersion ? sdk , SentryRequest ? request , String ? type , Map <String , SentryMeasurement > ? measurements , Map <String , List <MetricSummary > > ? metricSummaries , SentryTransactionInfo ? transactionInfo })
Properties
breadcrumbs
→ List <Breadcrumb > ?
List of breadcrumbs for this event.
final inherited
contexts
→ Contexts
The context interfaces provide additional context data.
Typically this is data related to the current user,
the current HTTP request.
final inherited
culprit
→ String ?
What caused this event to be logged.
final inherited
debugMeta
→ DebugMeta ?
The debug meta interface carries debug information for processing errors
and crash reports.
final inherited
dist
→ String ?
The distribution of the application.
final inherited
environment
→ String ?
The environment that logged the event, e.g. "production", "staging".
final inherited
eventId
→ SentryId
The ID Sentry.io assigned to the submitted event for future reference.
final inherited
exceptions
→ List <SentryException > ?
One or multiple chained (nested) exceptions that occurred in a program.
final inherited
Arbitrary name/value pairs attached to the event.
final inherited
fingerprint
→ List <String > ?
Used to deduplicate events by grouping ones with the same fingerprint
together.
final inherited
finished
→ bool
no setter
hashCode
→ int
The hash code for this object.
no setter inherited
level
→ SentryLevel ?
How important this event is.
final inherited
logger
→ String ?
The logger that logged the event.
final inherited
measurements
↔ Map <String , SentryMeasurement >
late final
message
→ SentryMessage ?
Event message.
final inherited
metricSummaries
↔ Map <String , List <MetricSummary > > ?
late final
modules
→ Map <String , String > ?
A list of relevant modules and their versions.
final inherited
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.
final inherited
release
→ String ?
The version of the application that logged the event.
final inherited
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
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
sampled
→ bool
no setter
sdk
→ SdkVersion ?
The SDK Interface describes the Sentry SDK and its configuration used
to capture and transmit an event.
final inherited
serverName
→ String ?
Identifies the server that logged this event.
final inherited
spans
↔ List <SentrySpan >
late final
stacktrace
→ SentryStackTrace ?
no setter inherited
startTimestamp
↔ DateTime
late final
tags
→ Map <String , String > ?
Name/value pairs that events can be searched by.
final inherited
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.
final inherited
throwable
→ dynamic
An object that was thrown.
no setter inherited
throwableMechanism
→ dynamic
A throwable decorator that holds a Mechanism related to the decorated
throwable
no setter inherited
timestamp
→ DateTime ?
A timestamp representing when the event occurred.
final inherited
tracer
→ SentryTracer
final
transaction
→ String ?
The name of the transaction which generated this event,
for example, the route name: "/users/<username>/"
.
final inherited
transactionInfo
↔ SentryTransactionInfo ?
late final
type
→ String ?
The event type determines how Sentry handles the event and has an impact
on processing, rate limiting, and quotas.
defaults to 'default'
final inherited
unknown
→ Map <String , dynamic > ?
final inherited
user
→ SentryUser ?
Information about the current user.
final inherited
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 , 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 , Map <String , List <MetricSummary > > ? metricSummaries , 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