pub struct Options {
pub cardinality_limiter_mode: CardinalityLimiterMode,
pub cardinality_limiter_error_sample_rate: f32,
pub metric_bucket_set_encodings: BucketEncodings,
pub metric_bucket_dist_encodings: BucketEncodings,
pub http_span_allowed_hosts: Vec<String>,
pub objectstore_attachments_sample_rate: f32,
pub sessions_eap_rollout_rate: f32,
pub eap_outcomes_rollout_rate: f32,
pub eap_span_outcomes_rollout_rate: f32,
/* private fields */
}Expand description
All options passed down from Sentry to Relay.
Fields§
§cardinality_limiter_mode: CardinalityLimiterModeKill switch for controlling the cardinality limiter.
cardinality_limiter_error_sample_rate: f32Sample rate for Cardinality Limiter Sentry errors.
Rate needs to be between 0.0 and 1.0.
If set to 1.0 all cardinality limiter rejections will be logged as a Sentry error.
metric_bucket_set_encodings: BucketEncodingsMetric bucket encoding configuration for sets by metric namespace.
metric_bucket_dist_encodings: BucketEncodingsMetric bucket encoding configuration for distributions by metric namespace.
http_span_allowed_hosts: Vec<String>List of values on span description that are allowed to be sent to Sentry without being scrubbed.
At this point, it doesn’t accept IP addresses in CIDR format.. yet.
objectstore_attachments_sample_rate: f32Instructs relay to store attachments in objectstore instead of sending chunks via kafka.
Rate needs to be between 0.0 and 1.0.
If set to 1.0 all attachments will be stored in objectstore.
sessions_eap_rollout_rate: f32Rollout rate for the EAP (Event Analytics Platform) double-write for user sessions.
When rolled out, session data is sent both through the legacy metrics pipeline
and directly to the snuba-items topic as TRACE_ITEM_TYPE_USER_SESSION.
Rate needs to be between 0.0 and 1.0.
eap_outcomes_rollout_rate: f32Rollout rate for accepted outcomes being emitted by EAP instead of Relay.
Rate needs to be between 0.0 and 1.0.
eap_span_outcomes_rollout_rate: f32Rollout rate for accepted outcomes for spans being emitted by EAP instead of Relay.
Rate needs to be between 0.0 and 1.0.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Options
impl<'de> Deserialize<'de> for Options
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§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>
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>
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].