fix(span-metrics): Bring back one metric still in use #4955
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The diff doesn't do it justice: this is bringing back the SpanMetricsCommon group to add back
d:spans/webvital.inp@millisecond.I changed how we guard metrics too since, in the previous config, if
Feature::ExtractCommonSpanMetricsFromEventwas disabled, everything should be disabled (https://github.com/getsentry/relay/pull/4931/files#diff-b391d3acb7ee266caa09903f615c9e66567dd2a2a630d07435971931175adb5eL79) and now, it's tied to span extraction (soproduces_spans()).