Skip to content

Commit

Permalink
feat(spans): Register feature for transaction extraction (#68609)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbayer authored Apr 10, 2024
1 parent 28b21e4 commit 3bb41bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/sentry/conf/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -2020,6 +2020,7 @@ def custom_parameter_sort(parameter: dict) -> tuple[str, int]:
"projects:span-metrics-extraction-all-modules": False,
"projects:span-metrics-extraction-resource": False,
"projects:discard-transaction": False,
"projects:extract-transaction-from-segment-span": False,
# Controls whether or not the relocation endpoints can be used.
"relocation:enabled": False,
# NOTE: Don't add feature defaults down here! Please add them in their associated
Expand Down
1 change: 1 addition & 0 deletions src/sentry/features/temporary.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def register_temporary_features(manager: FeatureManager):
manager.add("projects:span-metrics-extraction-all-modules", ProjectFeature, FeatureHandlerStrategy.INTERNAL)
manager.add("projects:span-metrics-extraction-ga-modules", ProjectFeature, FeatureHandlerStrategy.INTERNAL)
manager.add("projects:span-metrics-extraction-resource", ProjectFeature, FeatureHandlerStrategy.INTERNAL)
manager.add("projects:extract-transaction-from-segment-span", ProjectFeature, FeatureHandlerStrategy.INTERNAL)

# Project plugin features
manager.add("projects:plugins", ProjectPluginFeature, FeatureHandlerStrategy.INTERNAL)
Expand Down
1 change: 1 addition & 0 deletions src/sentry/relay/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@

#: These features will be listed in the project config
EXPOSABLE_FEATURES = [
"projects:extract-transaction-from-segment-span",
"projects:profiling-ingest-unsampled-profiles",
"projects:span-metrics-extraction",
"projects:span-metrics-extraction-ga-modules",
Expand Down

0 comments on commit 3bb41bc

Please sign in to comment.