From ef630e39ba456d87651ace55b00211fbb0df81b4 Mon Sep 17 00:00:00 2001 From: jjbayer Date: Fri, 13 Sep 2024 07:00:41 +0000 Subject: [PATCH] deploy: 5d351d5916f22c93e2e1fa41a22af0c321e78336 --- .../processor/derive.ProcessValue.html | 2 +- relay_filter/trait.Filterable.html | 14 +++---- .../transaction_name/fn.should_filter.html | 2 +- relay_filter/transaction_name/index.html | 2 +- relay_spans/fn.otel_to_sentry_span.html | 2 +- src/relay_server/services/buffer/mod.rs.html | 40 +++++++++++++++++++ 6 files changed, 51 insertions(+), 11 deletions(-) diff --git a/relay_event_schema/processor/derive.ProcessValue.html b/relay_event_schema/processor/derive.ProcessValue.html index 8c7dec95e3..02b5fe400b 100644 --- a/relay_event_schema/processor/derive.ProcessValue.html +++ b/relay_event_schema/processor/derive.ProcessValue.html @@ -1,4 +1,4 @@ -ProcessValue in relay_event_schema::processor - Rust

Derive Macro relay_event_schema::processor::ProcessValue

source ·
#[derive(ProcessValue)]
+ProcessValue in relay_event_schema::processor - Rust

Derive Macro relay_event_schema::processor::ProcessValue

#[derive(ProcessValue)]
 {
     // Attributes available to this derive:
     #[metastructure]
diff --git a/relay_filter/trait.Filterable.html b/relay_filter/trait.Filterable.html
index 0387996335..c7ed184553 100644
--- a/relay_filter/trait.Filterable.html
+++ b/relay_filter/trait.Filterable.html
@@ -1,20 +1,20 @@
 Filterable in relay_filter - Rust

Trait relay_filter::Filterable

source ·
pub trait Filterable {
     // Required methods
-    fn csp(&self) -> Option<&Csp>;
-    fn exceptions(&self) -> Option<&Values<Exception>>;
+    fn csp(&self) -> Option<&Csp>;
+    fn exceptions(&self) -> Option<&Values<Exception>>;
     fn ip_addr(&self) -> Option<&str>;
-    fn logentry(&self) -> Option<&LogEntry>;
+    fn logentry(&self) -> Option<&LogEntry>;
     fn release(&self) -> Option<&str>;
     fn transaction(&self) -> Option<&str>;
     fn url(&self) -> Option<Url>;
     fn user_agent(&self) -> Option<&str>;
 }
Expand description

A data item to which filters can be applied.

-

Required Methods§

source

fn csp(&self) -> Option<&Csp>

The CSP report contained in the item. Only for CSP reports.

-
source

fn exceptions(&self) -> Option<&Values<Exception>>

The exception values of the item. Only for error events.

+

Required Methods§

source

fn csp(&self) -> Option<&Csp>

The CSP report contained in the item. Only for CSP reports.

+
source

fn exceptions(&self) -> Option<&Values<Exception>>

The exception values of the item. Only for error events.

source

fn ip_addr(&self) -> Option<&str>

The IP address of the client that sent the data.

-
source

fn logentry(&self) -> Option<&LogEntry>

The logentry message. Only for error events.

+
source

fn logentry(&self) -> Option<&LogEntry>

The logentry message. Only for error events.

source

fn release(&self) -> Option<&str>

The release string of the data item.

source

fn transaction(&self) -> Option<&str>

The transaction name. Only for transaction events.

source

fn url(&self) -> Option<Url>

The URL from which the request originates. Used for localhost filtering.

source

fn user_agent(&self) -> Option<&str>

The user agent of the client that sent the data.

-

Implementations on Foreign Types§

source§

impl Filterable for Event

source§

fn csp(&self) -> Option<&Csp>

source§

fn exceptions(&self) -> Option<&Values<Exception>>

source§

fn ip_addr(&self) -> Option<&str>

source§

fn logentry(&self) -> Option<&LogEntry>

source§

fn release(&self) -> Option<&str>

source§

fn transaction(&self) -> Option<&str>

source§

fn url(&self) -> Option<Url>

source§

fn user_agent(&self) -> Option<&str>

source§

impl Filterable for Replay

source§

fn csp(&self) -> Option<&Csp>

source§

fn exceptions(&self) -> Option<&Values<Exception>>

source§

fn ip_addr(&self) -> Option<&str>

source§

fn logentry(&self) -> Option<&LogEntry>

source§

fn release(&self) -> Option<&str>

source§

fn transaction(&self) -> Option<&str>

source§

fn url(&self) -> Option<Url>

source§

fn user_agent(&self) -> Option<&str>

source§

impl Filterable for Span

source§

fn csp(&self) -> Option<&Csp>

source§

fn exceptions(&self) -> Option<&Values<Exception>>

source§

fn ip_addr(&self) -> Option<&str>

source§

fn logentry(&self) -> Option<&LogEntry>

source§

fn release(&self) -> Option<&str>

source§

fn transaction(&self) -> Option<&str>

source§

fn url(&self) -> Option<Url>

source§

fn user_agent(&self) -> Option<&str>

Implementors§

\ No newline at end of file +

Implementations on Foreign Types§

source§

impl Filterable for Event

source§

impl Filterable for Replay

source§

impl Filterable for Span

Implementors§

\ No newline at end of file diff --git a/relay_filter/transaction_name/fn.should_filter.html b/relay_filter/transaction_name/fn.should_filter.html index b6462b3ba7..df5b0de7b8 100644 --- a/relay_filter/transaction_name/fn.should_filter.html +++ b/relay_filter/transaction_name/fn.should_filter.html @@ -1,6 +1,6 @@ should_filter in relay_filter::transaction_name - Rust

Function relay_filter::transaction_name::should_filter

source ·
pub fn should_filter<F: Filterable>(
     item: &F,
     config: &IgnoreTransactionsFilterConfig,
-) -> Result<(), FilterStatKey>
Expand description

Filters Transaction events based on a list of provided transaction +) -> Result<(), FilterStatKey>

Expand description

Filters Transaction events based on a list of provided transaction name globs.

\ No newline at end of file diff --git a/relay_filter/transaction_name/index.html b/relay_filter/transaction_name/index.html index c29fab9e6c..e56024c98c 100644 --- a/relay_filter/transaction_name/index.html +++ b/relay_filter/transaction_name/index.html @@ -1,4 +1,4 @@ relay_filter::transaction_name - Rust

Module relay_filter::transaction_name

source ·
Expand description

Implements event filtering based on whether the endpoint called is a healthcheck endpoint.

If this filter is enabled transactions from healthcheck endpoints will be filtered out.

-

Functions§

\ No newline at end of file diff --git a/relay_spans/fn.otel_to_sentry_span.html b/relay_spans/fn.otel_to_sentry_span.html index 3c9fab8239..4d63534753 100644 --- a/relay_spans/fn.otel_to_sentry_span.html +++ b/relay_spans/fn.otel_to_sentry_span.html @@ -1,2 +1,2 @@ -otel_to_sentry_span in relay_spans - Rust

Function relay_spans::otel_to_sentry_span

source ·
pub fn otel_to_sentry_span(otel_span: Span) -> Span
Expand description

Transform an OtelSpan to a Sentry span.

+otel_to_sentry_span in relay_spans - Rust

Function relay_spans::otel_to_sentry_span

source ·
pub fn otel_to_sentry_span(otel_span: Span) -> Span
Expand description

Transform an OtelSpan to a Sentry span.

\ No newline at end of file diff --git a/src/relay_server/services/buffer/mod.rs.html b/src/relay_server/services/buffer/mod.rs.html index dfeb14bdce..488e732ca0 100644 --- a/src/relay_server/services/buffer/mod.rs.html +++ b/src/relay_server/services/buffer/mod.rs.html @@ -501,6 +501,26 @@ 501 502 503 +504 +505 +506 +507 +508 +509 +510 +511 +512 +513 +514 +515 +516 +517 +518 +519 +520 +521 +522 +523
//! Types for buffering envelopes.
 
 use std::sync::atomic::AtomicBool;
@@ -650,11 +670,31 @@
         );
 
         self.system_ready(buffer).await;
+
+        relay_statsd::metric!(
+            counter(RelayCounters::BufferReadyToPop) += 1,
+            status = "system_ready"
+        );
+
         if self.sleep > Duration::ZERO {
             tokio::time::sleep(self.sleep).await;
         }
+
+        relay_statsd::metric!(
+            counter(RelayCounters::BufferReadyToPop) += 1,
+            status = "slept"
+        );
+
         if let Some(project_cache_ready) = self.project_cache_ready.as_mut() {
+            relay_statsd::metric!(
+                counter(RelayCounters::BufferReadyToPop) += 1,
+                status = "waiting_for_project_cache"
+            );
             project_cache_ready.await?;
+            relay_statsd::metric!(
+                counter(RelayCounters::BufferReadyToPop) += 1,
+                status = "waited_for_project_cache"
+            );
             self.project_cache_ready = None;
         }