Crate relay_config

Source
Expand description

Configuration for the Relay CLI and server.

Re-exports§

pub use crate::aggregator::AggregatorServiceConfig;
pub use crate::aggregator::ScopedAggregatorConfig;

Modules§

aggregator
Metrics aggregator configuration.

Structs§

AuthConfig
Authentication options.
ByteSize
Represents a size in bytes.
Cache
Controls internal caching behavior.
CardinalityLimiter
Cardinality Limiter configuration options.
Cogs
COGS configuration.
Config
Config struct.
ConfigError
Indicates config related errors.
Credentials
The relay credentials
EnvelopeSpool
Persistent buffering configuration for incoming envelopes.
GeoIpConfig
GeoIp database configuration options.
Health
Settings to control Relay’s health checks.
Http
Controls authentication with upstream.
Limits
Controls various limits
Metrics
Control the metrics.
MinimalConfig
Minimal version of a config for dumping out.
Normalization
Configuration for normalization in this Relay.
OutcomeAggregatorConfig
Configuration values for the outcome aggregator
Outcomes
Outcome generation specific configuration values.
OverridableConfig
Structure used to hold information about configuration overrides via CLI parameters or environment variables
ParseRelayModeError
Error returned when parsing an invalid RelayMode.
PartialRedisConfigOptions
Additional configuration options for a redis client.
Processing
Controls Sentry-internal event processing.
Relay
Relay specific configuration values.
RelayInfo
Information on a downstream Relay.
Routing
Controls traffic steering.
SentryMetrics
Controls processing of Sentry metrics and metric metadata.
Spool
Persistent buffering configuration.
UpstreamDescriptor
The upstream target is a type that holds all the information to uniquely identify an upstream target.

Enums§

ByteSizeParseError
The error returned when trying to parse a SpecificSize, using the FromStr trait.
ConfigErrorKind
Indicates config related errors.
EmitOutcomes
Determines how to emit outcomes. For compatibility reasons, this can either be true, false or AsClientReports
HttpEncoding
Http content encoding for both incoming and outgoing web requests.
NormalizationLevel
Configuration for the level of normalization this Relay should do.
ReadinessCondition
Controls responses from the readiness health check endpoint based on authentication.
RedisConfig
Redis configuration.
RedisConfigRef
Reference to the RedisConfig with the final RedisConfigOptions.
RedisConfigs
Configurations for the various Redis pools used by Relay.
RedisConfigsRef
Helper struct bundling connections and options for the various Redis pools.
RelayInstance
The instance type of Relay.
RelayMode
The operation mode of a relay.
SingleRedisConfig
Struct that can serialize a string to a single Redis connection.
UpstreamError
Indicates failures in the upstream error api.
UpstreamParseError
Raised if a URL cannot be parsed into an upstream descriptor.