Skip to content

Commit 797ceb7

Browse files
committed
chore(server): Remove GenerateBillingOutcome flag usage
1 parent 9b930e7 commit 797ceb7

2 files changed

Lines changed: 4 additions & 15 deletions

File tree

relay-dynamic-config/src/feature.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ pub enum Feature {
108108
/// Allow additional exceptions to accompany minidumps.
109109
#[serde(rename = "projects:minidump-multi-exception")]
110110
MinidumpMultiException,
111-
/// Enable relay billing outcome generation.
112-
#[serde(rename = "organizations:relay-generate-billing-outcome")]
113-
GenerateBillingOutcome,
114-
115111
/// Enables OTLP spans to use the Span V2 processing pipeline in Relay.
116112
///
117113
/// This is now the default behaviour of Relay.

relay-server/src/services/processor.rs

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,6 @@ impl EnvelopeProcessorService {
11961196
) {
11971197
use crate::constants::DEFAULT_EVENT_RETENTION;
11981198
use crate::services::store::StoreMetrics;
1199-
use relay_dynamic_config::Feature;
12001199

12011200
for ProjectBuckets {
12021201
buckets,
@@ -1213,16 +1212,10 @@ impl EnvelopeProcessorService {
12131212
continue;
12141213
}
12151214

1216-
if project_info
1217-
.config
1218-
.features
1219-
.has(Feature::GenerateBillingOutcome)
1220-
{
1221-
// Emit metric billing outcomes.
1222-
self.inner
1223-
.metric_outcomes
1224-
.track_accepted_outcome(scoping, &mut buckets);
1225-
}
1215+
// Emit metric billing outcomes.
1216+
self.inner
1217+
.metric_outcomes
1218+
.track_accepted_outcome(scoping, &mut buckets);
12261219

12271220
let retention = project_info
12281221
.config

0 commit comments

Comments
 (0)