Skip to content

Commit

Permalink
Add cfg attribute to emit_feedback_metrics call
Browse files Browse the repository at this point in the history
  • Loading branch information
aliu39 committed Jun 5, 2024
1 parent fc0bbcc commit 9703f3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions relay-server/src/services/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1496,6 +1496,8 @@ impl EnvelopeProcessorService {
if state.has_event() {
event::scrub(state)?;
event::serialize(state)?;

#[cfg(feature = "processing")]
event::emit_feedback_metrics(state.envelope());
}

Expand Down

0 comments on commit 9703f3f

Please sign in to comment.