Skip to content

Commit ab0e3c3

Browse files
authored
sentry: Fix URL in trace_sampler (#6392)
🤦‍♂️
1 parent 3202e2f commit ab0e3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub fn init() -> ClientInitGuard {
4040
// Reduce the sample rate for the download endpoint, since we have significantly
4141
// more traffic on that endpoint compared to the rest
4242
return traces_sample_rate / 100.;
43-
} else if ctx.name() == "PUT /crates/new" {
43+
} else if ctx.name() == "PUT /api/v1/crates/new" {
4444
// Record all traces for crate publishing
4545
return 1.;
4646
} else if ctx.name().starts_with("GET /api/private/metrics/") {

0 commit comments

Comments
 (0)