@@ -80,16 +80,6 @@ pub enum Feature {
80
80
/// Serialized as `organizations:continuous-profiling-beta-ingest`.
81
81
#[ serde( rename = "organizations:continuous-profiling-beta-ingest" ) ]
82
82
ContinuousProfilingBetaIngest ,
83
- /// Enables metric extraction from spans for common modules.
84
- ///
85
- /// Serialized as `projects:span-metrics-extraction`.
86
- #[ serde( rename = "projects:span-metrics-extraction" ) ]
87
- ExtractCommonSpanMetricsFromEvent ,
88
- /// Enables metric extraction from spans for addon modules.
89
- ///
90
- /// Serialized as `projects:span-metrics-extraction-addons`.
91
- #[ serde( rename = "projects:span-metrics-extraction-addons" ) ]
92
- ExtractAddonsSpanMetricsFromEvent ,
93
83
/// When enabled, spans will be extracted from a transaction.
94
84
///
95
85
/// Serialized as `organizations:indexed-spans-extraction`.
@@ -124,6 +114,14 @@ pub enum Feature {
124
114
/// Detect performance issues in the new standalone spans pipeline instead of on transactions.
125
115
#[ serde( rename = "organizations:performance-issues-spans" ) ]
126
116
PerformanceIssuesSpans ,
117
+ /// This feature has deprecated and is kept for external Relays.
118
+ #[ doc( hidden) ]
119
+ #[ serde( rename = "projects:span-metrics-extraction" ) ]
120
+ DeprecatedExtractCommonSpanMetricsFromEvent ,
121
+ /// This feature has been deprecated and is kept for external Relays.
122
+ #[ doc( hidden) ]
123
+ #[ serde( rename = "projects:span-metrics-extraction-addons" ) ]
124
+ DeprecatedExtractAddonsSpanMetricsFromEvent ,
127
125
/// Forward compatibility.
128
126
#[ doc( hidden) ]
129
127
#[ serde( other) ]
@@ -147,9 +145,7 @@ impl FeatureSet {
147
145
148
146
/// Returns `true` if any spans are produced for this project.
149
147
pub fn produces_spans ( & self ) -> bool {
150
- self . has ( Feature :: ExtractSpansFromEvent )
151
- || self . has ( Feature :: StandaloneSpanIngestion )
152
- || self . has ( Feature :: ExtractCommonSpanMetricsFromEvent )
148
+ self . has ( Feature :: ExtractSpansFromEvent ) || self . has ( Feature :: StandaloneSpanIngestion )
153
149
}
154
150
}
155
151
0 commit comments