Skip to content

Commit 2045ab4

Browse files
authored
ref(filter): Add Rails 7 Health Endpoint (#4117)
Rails 7 uses `/up` as a default health check endpoint, this only adds the tests for it, change is necessary in Sentry to actually filter. getsentry/sentry-docs#11505 getsentry/sentry#78751
1 parent 52bc345 commit 2045ab4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

relay-filter/src/transaction_name.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ mod tests {
4949
"*/health",
5050
"*/healthz",
5151
"*/ping",
52+
"*/up",
5253
]
5354
.map(|val| val.to_string())
5455
.to_vec();
@@ -88,6 +89,8 @@ mod tests {
8889
"123/health",
8990
"123/healthz",
9091
"123/ping",
92+
"/up",
93+
"123/up",
9194
];
9295

9396
for name in transaction_names {
@@ -119,6 +122,7 @@ mod tests {
119122
"delivery",
120123
"notready",
121124
"already",
125+
"/upload",
122126
];
123127
let config = _get_config();
124128

0 commit comments

Comments
 (0)