Skip to content

Commit c558af7

Browse files
authored
ref(metric-stats): Remove now unused metric stats option (#98508)
Relay PR: getsentry/relay#5097
1 parent ac782e4 commit c558af7

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/sentry/options/defaults.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,9 +1347,6 @@
13471347
flags=FLAG_AUTOMATOR_MODIFIABLE,
13481348
)
13491349

1350-
# Controls the rollout rate in percent (`0.0` to `1.0`) for metric stats.
1351-
register("relay.metric-stats.rollout-rate", default=0.0, flags=FLAG_AUTOMATOR_MODIFIABLE)
1352-
13531350
# Write new kafka headers in eventstream
13541351
register("eventstream:kafka-headers", default=True, flags=FLAG_AUTOMATOR_MODIFIABLE)
13551352

src/sentry/relay/globalconfig.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"relay.cardinality-limiter.error-sample-rate",
2121
"relay.metric-bucket-set-encodings",
2222
"relay.metric-bucket-distribution-encodings",
23-
"relay.metric-stats.rollout-rate",
2423
"relay.ourlogs-ingestion.sample-rate",
2524
"relay.span-extraction.sample-rate",
2625
"relay.span-normalization.allowed_hosts",

tests/sentry/api/endpoints/test_relay_globalconfig_v3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def inner(version, global_):
3636
{
3737
# Set options to Relay's non-default values to avoid Relay skipping deserialization
3838
"relay.cardinality-limiter.error-sample-rate": 1.0,
39-
"relay.metric-stats.rollout-rate": 0.5,
4039
"profiling.profile_metrics.unsampled_profiles.enabled": True,
4140
"profiling.profile_metrics.unsampled_profiles.platforms": ["fake-platform"],
4241
"profiling.profile_metrics.unsampled_profiles.sample_rate": 1.0,

0 commit comments

Comments
 (0)