Skip to main content

Crate sentry_options

Crate sentry_options 

Source
Expand description

Options client for reading validated configuration values.

Re-exports§

pub use features::FeatureChecker;
pub use features::FeatureContext;
pub use features::features;

Modules§

features
Feature flag evaluation.
testing
Testing utilities for overriding option values in tests.

Structs§

NamespaceOptions
Handle for accessing options within a specific namespace.
Options
Options store for reading configuration values.

Enums§

OptionsError

Functions§

init
Initialize global options using fallback chain: SENTRY_OPTIONS_DIR env var, then /etc/sentry-options if it exists, otherwise sentry-options/.
init_with_schemas
Initialize global options with schemas provided as in-memory JSON strings. Values are loaded from disk using the standard fallback chain.
options
Get a namespace handle for accessing options.

Type Aliases§

Result