RedisFeature
class RedisFeature extends Feature
Traits
Properties
| bool internal | $detectSessionKeyOnConsole | Indicates whether to attempt to detect the session key when running in the console. |
Methods
Indicate if the feature is applicable to the current environment.
Set up the feature in the environment.
Set up the feature in the environment in an inactive state (when no DSN was set).
Indicate if the given feature is enabled for tracing.
Indicate if the given feature is enabled for breadcrumbs.
Details
at line 33
bool
isApplicable()
Indicate if the feature is applicable to the current environment.
in
Feature at line 46
void
register()
Register the feature in the environment.
at line 38
void
onBoot()
Set up the feature in the environment.
in
Feature at line 62
void
onBootInactive()
Set up the feature in the environment in an inactive state (when no DSN was set).
in
Feature at line 69
void
boot()
Initialize the feature.
in
Feature at line 83
void
bootInactive()
Initialize the feature in an inactive state (when no DSN was set).
in
Feature at line 97
protected array
getUserConfig()
Retrieve the user configuration.
in
Feature at line 105
protected bool
shouldSendDefaultPii()
Determine if default PII should be sent.
in
Feature at line 119
protected bool
isTracingFeatureEnabled(string $feature, bool $default = true)
Indicate if the given feature is enabled for tracing.
in
Feature at line 131
protected bool
isBreadcrumbFeatureEnabled(string $feature, bool $default = true)
Indicate if the given feature is enabled for breadcrumbs.
in
ResolvesEventOrigin at line 15
protected Container
container()
Retrieve the application container.
in
ResolvesEventOrigin at line 20
protected array|null
resolveEventOrigin()
No description
in
ResolvesEventOrigin at line 44
protected string|null
resolveEventOriginAsString()
No description
at line 47
void
handleRedisCommands(CommandExecuted $event)
No description
at line 114
void
handleFailedRedisCommands(CommandFailed $event)
Record a failed Redis command as an error span.