Subtrace tracks all requests by default, but you can exclude certain requests with a simple YAML-based config file. Here’s an example:Documentation Index
Fetch the complete documentation index at: https://docs.subtrace.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
--config command line flag when starting
Subtrace:
then field, Subtrace decides
whether the request should be included or excluded. If no matching rule is
found, the request is included by default.
Syntax
Theif condition is written using CEL, a simple language
with a syntax similar to JavaScript. Here’s a list of commonly used syntax as
reference examples:
request.method == "POST"request.url != "/robots.txt"request.url.contains("dashboard")request.url.startsWith("/api/")request.url.endsWith(".jpg") || request.url.endsWith(".png")response.status >= 400 && response.status <= 499