Skip to content

Commit e8988b6

Browse files
committed
feedback
1 parent f889dc5 commit e8988b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

relay-dynamic-config/src/defaults.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub fn add_span_metrics(project_config: &mut ProjectConfig) {
112112
/// These metrics are added to [`crate::GlobalConfig`] by the service and enabled
113113
/// by project configs in sentry.
114114
pub fn hardcoded_span_metrics() -> Vec<(GroupKey, Vec<MetricSpec>, Vec<TagMapping>)> {
115-
let is_ai = RuleCondition::glob("span.op", "ai.*");
115+
let is_ai = RuleCondition::glob("span.op", "ai.*") | RuleCondition::glob("span.op", "gen_ai.*");
116116

117117
let is_db = RuleCondition::eq("span.sentry_tags.category", "db")
118118
& !RuleCondition::glob("span.op", DISABLED_DATABASES)

0 commit comments

Comments
 (0)