From a4fd614c5a6595b1ce5181c208cab93fbf605c98 Mon Sep 17 00:00:00 2001 From: Ash <0Calories@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:54:28 -0400 Subject: [PATCH] feat(metrics): Add `span.system` tag to span metrics (#3913) In anticipation of the new MongoDB support that is being added to the Insights Queries module, this PR will add the `span.system` tag to metrics. This will allow for querying all database systems in a particular project, so that users can switch the view of the queries module based on their choice of DBMS. --- CHANGELOG.md | 1 + relay-dynamic-config/src/defaults.rs | 4 ++ ...nt__tests__both_feature_flags_enabled.snap | 72 +++++++++++++++++++ 3 files changed, 77 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 876c1ced8a..1723363f9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ - Introduce `trim = "disabled"` type attribute to prevent trimming of spans. ([#3877](https://github.com/getsentry/relay/pull/3877)) - Make the tcp listen backlog configurable and raise the default to 1024. ([#3899](https://github.com/getsentry/relay/pull/3899)) - Extract `user.geo.country_code` into span indexed. ([#3911](https://github.com/getsentry/relay/pull/3911)) +- Add `span.system` tag to span metrics ([#3913](https://github.com/getsentry/relay/pull/3913)) ## 24.7.1 diff --git a/relay-dynamic-config/src/defaults.rs b/relay-dynamic-config/src/defaults.rs index 7e5af1eff0..3567c6bad2 100644 --- a/relay-dynamic-config/src/defaults.rs +++ b/relay-dynamic-config/src/defaults.rs @@ -905,6 +905,10 @@ pub fn hardcoded_span_metrics() -> Vec<(GroupKey, Vec, Vec