Commit fdd385e
authored
feat(issues): Add hex parameterization experiment (#93970)
Our existing hex parameterization supports hex values of any length
however they must begin with either `0x` or `0X`. We frequently see hex
values in messages which do not have this prefix (ex: trace ids or span
ids).
This adds support for hex values which do not have the `0x` prefix. To
ensure it does not over-parameterize the following requirements:
- Must be exactly 4 or 8 bytes (8 or 16 characters)
- Must contain both a number and a letter
- Must use lowercase letters (anecdotally I've never seen examples where
uppercase would be beneficial)
The addition of `EXPERIMENT_PARAMETERIZATION_REGEXES_MAP` and other
parameters will all be removed once the rollout of this is completed.1 parent b53da03 commit fdd385e
File tree
4 files changed
+61
-6
lines changed- src/sentry
- grouping
- strategies
- options
- tests/sentry/grouping
4 files changed
+61
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
183 | 209 | | |
184 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
185 | 214 | | |
186 | 215 | | |
187 | 216 | | |
| |||
273 | 302 | | |
274 | 303 | | |
275 | 304 | | |
| 305 | + | |
276 | 306 | | |
| 307 | + | |
277 | 308 | | |
278 | 309 | | |
279 | 310 | | |
280 | 311 | | |
281 | 312 | | |
282 | | - | |
283 | | - | |
| 313 | + | |
284 | 314 | | |
285 | 315 | | |
286 | 316 | | |
| |||
292 | 322 | | |
293 | 323 | | |
294 | 324 | | |
295 | | - | |
296 | | - | |
297 | | - | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
298 | 333 | | |
299 | 334 | | |
300 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2624 | 2624 | | |
2625 | 2625 | | |
2626 | 2626 | | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
2627 | 2632 | | |
2628 | 2633 | | |
2629 | 2634 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
111 | 124 | | |
112 | 125 | | |
113 | 126 | | |
| |||
0 commit comments