class Raven::Event
- Raven::Event
- Reference
- Object
Included Modules
Defined in:
raven/event.crConstant Summary
-
MAX_MESSAGE_SIZE_IN_BYTES =
1024 * 8
-
See Sentry server default limits at https://github.com/getsentry/sentry/blob/master/src/sentry/conf/server.py
-
PLATFORM =
"crystal"
-
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.
-
SDK =
{name: "raven.cr", version: Raven::VERSION}
-
Information about the SDK sending the event.
Constructors
Class Method Summary
Instance Method Summary
- #backtrace=(backtrace)
- #breadcrumbs : BreadcrumbBuffer
- #breadcrumbs=(breadcrumbs : BreadcrumbBuffer)
- #configuration : Configuration
- #configuration=(configuration : Configuration)
- #context : Context
- #context=(context : Context)
- #contexts : AnyHash::JSON
- #contexts=(contexts : AnyHash::JSON)
- #contexts=(hash : Hash | NamedTuple | Nil)
-
#culprit : String | Nil
The name of the transaction (or culprit) which caused this exception.
-
#culprit=(culprit : String | Nil)
The name of the transaction (or culprit) which caused this exception.
-
#environment : String | Nil
The environment name, such as
production
orstaging
. -
#environment=(environment : String | Nil)
The environment name, such as
production
orstaging
. - #extra : AnyHash::JSON
- #extra=(extra : AnyHash::JSON)
- #extra=(hash : Hash | NamedTuple | Nil)
-
#fingerprint : Array(String)
An array of strings used to dictate the deduplication of this event.
-
#fingerprint=(fingerprint : Array(String))
An array of strings used to dictate the deduplication of this event.
-
#id : String
Hexadecimal string representing a uuid4 value.
-
#id=(id : String)
Hexadecimal string representing a uuid4 value.
- #interface(name : Symbol, options : NamedTuple)
- #interface(name : Symbol)
- #interface(name : Symbol, **options : Object)
-
#level : Severity | Nil
The record severity.
-
#level=(level : Severity | Nil)
The record severity.
-
#level=(severity : Symbol)
The record severity.
- #list_shard_specs
-
#logger : String | Nil
The name of the logger which created the record.
-
#logger=(logger : String | Nil)
The name of the logger which created the record.
- #message
- #message=(message : String)
- #message=(message_with_params : Enumerable | Indexable)
-
#modules : Hash(String, String) | Nil
A list of relevant modules and their versions.
-
#modules=(modules : Hash(String, String) | Nil)
A list of relevant modules and their versions.
-
#release : String | Nil
The release version of the application.
-
#release=(release : String | Nil)
The release version of the application.
-
#server_name : String | Nil
Identifies the host SDK from which the event was recorded.
-
#server_name=(server_name : String | Nil)
Identifies the host SDK from which the event was recorded.
- #tags : AnyHash::JSON
- #tags=(tags : AnyHash::JSON)
- #tags=(hash : Hash | NamedTuple | Nil)
-
#timestamp : Time
Indicates when the logging record was created (in the Sentry SDK).
-
#timestamp=(timestamp : Time)
Indicates when the logging record was created (in the Sentry SDK).
- #to_hash : HashType
- #to_json(*args, **options)
- #to_json(*args, **options, &)
- #user : AnyHash::JSON
- #user=(user : AnyHash::JSON)
- #user=(hash : Hash | NamedTuple | Nil)
Instance methods inherited from module Raven::Mixin::InitializeWith
initialize_with(attributes)initialize_with(**attributes) initialize_with
Constructor Detail
Class Method Detail
Instance Method Detail
The name of the transaction (or culprit) which caused this exception.
An array of strings used to dictate the deduplication of this event.
NOTE A value of {{ default }}
will be replaced with the built-in behavior,
thus allowing you to extend it, or completely replace it.
An array of strings used to dictate the deduplication of this event.
NOTE A value of {{ default }}
will be replaced with the built-in behavior,
thus allowing you to extend it, or completely replace it.
Hexadecimal string representing a uuid4 value.
NOTE The length is exactly 32 characters (no dashes!)
Hexadecimal string representing a uuid4 value.
NOTE The length is exactly 32 characters (no dashes!)
The release version of the application.
NOTE This value will generally be something along the lines of the git SHA for the given project.
The release version of the application.
NOTE This value will generally be something along the lines of the git SHA for the given project.
Identifies the host SDK from which the event was recorded.
Indicates when the logging record was created (in the Sentry SDK).