From ca3dd18cdb4916f2ba0364154f833c46f5f346f4 Mon Sep 17 00:00:00 2001 From: Dominik Buszowiecki <44422760+DominikB2014@users.noreply.github.com> Date: Mon, 19 Aug 2024 02:59:59 -0400 Subject: [PATCH] feat(spans): tag resource specific metrics with `user.geo.subregion` (#3934) work towards https://github.com/getsentry/sentry/issues/75230 This should allow all the asset module to be filtered down on user subregion. --- CHANGELOG.md | 1 + relay-dynamic-config/src/defaults.rs | 9 +++++++++ ...action__event__tests__both_feature_flags_enabled.snap | 9 +++++++++ ...r__metrics_extraction__event__tests__only_common.snap | 9 +++++++++ 4 files changed, 28 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b479586c3..5fd9400a2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ - Add `last_peek` field to the `Priority` struct. ([#3922](https://github.com/getsentry/relay/pull/3922)) - Extract `user.geo.subregion` for mobile spans. ([#3927](https://github.com/getsentry/relay/pull/3927)) - Rename `Peek` to `EnvelopeBufferGuard`. ([#3930](https://github.com/getsentry/relay/pull/3930)) +- Tag `user.geo.subregion` for resource metrics. ([#3934](https://github.com/getsentry/relay/pull/3934)) ## 24.7.1 diff --git a/relay-dynamic-config/src/defaults.rs b/relay-dynamic-config/src/defaults.rs index 616fa9e99d..758795ab57 100644 --- a/relay-dynamic-config/src/defaults.rs +++ b/relay-dynamic-config/src/defaults.rs @@ -268,6 +268,9 @@ pub fn hardcoded_span_metrics() -> Vec<(GroupKey, Vec, Vec Vec<(GroupKey, Vec, Vec Vec<(GroupKey, Vec, Vec