pub struct OverridableConfig {Show 16 fields
pub mode: Option<String>,
pub instance: Option<String>,
pub log_level: Option<String>,
pub upstream: Option<String>,
pub upstream_dsn: Option<String>,
pub host: Option<String>,
pub port: Option<String>,
pub processing: Option<String>,
pub kafka_url: Option<String>,
pub redis_url: Option<String>,
pub id: Option<String>,
pub secret_key: Option<String>,
pub public_key: Option<String>,
pub outcome_source: Option<String>,
pub shutdown_timeout: Option<String>,
pub server_name: Option<String>,
}
Expand description
Structure used to hold information about configuration overrides via CLI parameters or environment variables
Fields§
§mode: Option<String>
The operation mode of this relay.
instance: Option<String>
The instance type of this relay.
log_level: Option<String>
The log level of this relay.
upstream: Option<String>
The upstream relay or sentry instance.
upstream_dsn: Option<String>
Alternate upstream provided through a Sentry DSN. Key and project will be ignored.
host: Option<String>
The host the relay should bind to (network interface).
port: Option<String>
The port to bind for the unencrypted relay HTTP server.
processing: Option<String>
“true” if processing is enabled “false” otherwise
kafka_url: Option<String>
the kafka bootstrap.servers configuration string
redis_url: Option<String>
the redis server url
id: Option<String>
The globally unique ID of the relay.
secret_key: Option<String>
The secret key of the relay
public_key: Option<String>
The public key of the relay
outcome_source: Option<String>
Outcome source
shutdown_timeout: Option<String>
shutdown timeout
server_name: Option<String>
Server name reported in the Sentry SDK.
Trait Implementations§
source§impl Debug for OverridableConfig
impl Debug for OverridableConfig
source§impl Default for OverridableConfig
impl Default for OverridableConfig
source§fn default() -> OverridableConfig
fn default() -> OverridableConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OverridableConfig
impl RefUnwindSafe for OverridableConfig
impl Send for OverridableConfig
impl Sync for OverridableConfig
impl Unpin for OverridableConfig
impl UnwindSafe for OverridableConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more