Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
narsaynorath committed Mar 6, 2024
1 parent 4df462d commit 8d48a42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion relay-server/src/metrics_extraction/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ mod tests {
.filter(|b| b.name == "c:spans/usage@none")
.collect::<Vec<_>>();

let expected_usage = 7; // We count all spans received by Relay
let expected_usage = 8; // We count all spans received by Relay
assert_eq!(usage_metrics.len(), expected_usage);
for m in usage_metrics {
assert!(m.tags.is_empty());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,11 @@ expression: "(&event.value().unwrap().spans, metrics)"
server_address: ~,
http_response_status_code: ~,
thread_name: ~,
transaction: ~,
ui_component_name: ~,
url_scheme: ~,
user: ~,
replay_id: ~,
other: {},
},
sentry_tags: {
Expand All @@ -401,14 +404,18 @@ expression: "(&event.value().unwrap().spans, metrics)"
"mobile": "true",
"op": "process.load",
"os.name": "iOS",
"platform": "cocoa",
"release": "1.2.3",
"sdk.name": "sentry.javascript.react-native",
"sdk.version": "unknown",
"transaction": "gEt /api/:version/users/",
"transaction.method": "GET",
"ttid": "ttid",
},
received: ~,
measurements: ~,
_metrics_summary: ~,
platform: ~,
other: {},
},
],
Expand Down

0 comments on commit 8d48a42

Please sign in to comment.