Skip to content

Commit 62e12db

Browse files
authored
chore(profiling): remove unused options for storing functions metrics into generic metrics (#82220)
1 parent 024450e commit 62e12db

File tree

3 files changed

+0
-39
lines changed

3 files changed

+0
-39
lines changed

src/sentry/options/defaults.py

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2504,43 +2504,6 @@
25042504
flags=FLAG_AUTOMATOR_MODIFIABLE,
25052505
)
25062506

2507-
# killswitch for profiling ddm functions metrics.
2508-
# Enable/Disable the ingestion of function metrics
2509-
# in the generic metrics platform
2510-
register(
2511-
"profiling.generic_metrics.functions_ingestion.enabled",
2512-
default=False,
2513-
type=Bool,
2514-
flags=FLAG_AUTOMATOR_MODIFIABLE,
2515-
)
2516-
2517-
# list of org IDs for which we'll write the function
2518-
# metrics to the generic metrics platform
2519-
register(
2520-
"profiling.generic_metrics.functions_ingestion.allowed_org_ids",
2521-
type=Sequence,
2522-
default=[],
2523-
flags=FLAG_ALLOW_EMPTY | FLAG_AUTOMATOR_MODIFIABLE,
2524-
)
2525-
2526-
# list of project IDs we want to deny ingesting profiles
2527-
# function metrics into the generic metrics platform
2528-
register(
2529-
"profiling.generic_metrics.functions_ingestion.denied_proj_ids",
2530-
type=Sequence,
2531-
default=[],
2532-
flags=FLAG_ALLOW_EMPTY | FLAG_AUTOMATOR_MODIFIABLE,
2533-
)
2534-
2535-
# rollout rate: % of profiles for which we ingest the extracted profile
2536-
# functions metrics into the generic metrics platform
2537-
register(
2538-
"profiling.generic_metrics.functions_ingestion.rollout_rate",
2539-
type=Float,
2540-
default=0.0,
2541-
flags=FLAG_AUTOMATOR_MODIFIABLE,
2542-
)
2543-
25442507
# temporary option for logging canonical key fallback stacktraces
25452508
register(
25462509
"canonical-fallback.send-error-to-sentry",

src/sentry/relay/globalconfig.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"profiling.profile_metrics.unsampled_profiles.platforms",
1616
"profiling.profile_metrics.unsampled_profiles.sample_rate",
1717
"profiling.profile_metrics.unsampled_profiles.enabled",
18-
"profiling.generic_metrics.functions_ingestion.enabled",
1918
"relay.span-usage-metric",
2019
"relay.cardinality-limiter.mode",
2120
"relay.cardinality-limiter.error-sample-rate",

tests/sentry/api/endpoints/test_relay_globalconfig_v3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def inner(version, global_):
4242
"profiling.profile_metrics.unsampled_profiles.sample_rate": 1.0,
4343
"relay.span-usage-metric": True,
4444
"relay.cardinality-limiter.mode": "passive",
45-
"profiling.generic_metrics.functions_ingestion.enabled": True,
4645
"relay.metric-bucket-distribution-encodings": {
4746
"custom": "array",
4847
"metric_stats": "array",

0 commit comments

Comments
 (0)