kandra: Add a pattern grouping for /api/v1/tus/.

We already had one for `/api/v1/tus/...`, but not the bare
`/api/v1/tus/` which is used to initiate the upload.
This commit is contained in:
Alex Vandiver
2025-05-05 17:38:53 +00:00
committed by Tim Abbott
parent c1a95b8ed6
commit 614fdee5ca

View File

@@ -11,7 +11,7 @@ imports:
grok_patterns: grok_patterns:
- 'NONQUERY [^? ]+' - 'NONQUERY [^? ]+'
- 'OPTIONALQUERY (?:\?%{NOTSPACE})?' - 'OPTIONALQUERY (?:\?%{NOTSPACE})?'
- 'APIPATH /+(api/v1|json)(?<apipath>/(events|users/me/presence|messages(/flags)?|remotes/push/(register|unregister|notify)|remotes/server/(register|analytics|analytics/status)|typing|register|server_settings))' - 'APIPATH /+(api/v1|json)(?<apipath>/(events|users/me/presence|messages(/flags)?|remotes/push/(register|unregister|notify)|remotes/server/(register|analytics|analytics/status)|typing|register|server_settings|tus/))'
- 'EXTERNALPATH /+(?<external>api/v1/external/)[a-zA-Z0-9_-]+' - 'EXTERNALPATH /+(?<external>api/v1/external/)[a-zA-Z0-9_-]+'
- 'ROOTPATH (?<rootpath>/+)' - 'ROOTPATH (?<rootpath>/+)'
- 'TOPPATH /+(?<toppath>(api/internal/(email_mirror_message|tusd)|compatibility|error_tracing))' - 'TOPPATH /+(?<toppath>(api/internal/(email_mirror_message|tusd)|compatibility|error_tracing))'