Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-1.9] Correct documentation of routes default behavior #1433

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/sources/configure/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ Higher values reduce the load on the Kubernetes API service.
YAML section `routes`.

This section can be only configured via the YAML file. If no `routes` section is provided in
the YAML file, a default routes' pipeline stage will be created and filtered with the `wildcard`
the YAML file, a default routes' pipeline stage will be created and filtered with the `heuristic`
routes decorator.

| YAML | Environment variable | Type | Default |
Expand Down
2 changes: 1 addition & 1 deletion pkg/beyla/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ var DefaultConfig = Config{
FetchTimeout: 500 * time.Millisecond,
},
},
Routes: &transform.RoutesConfig{Unmatch: transform.UnmatchHeuristic},
Routes: &transform.RoutesConfig{Unmatch: transform.UnmatchDefault},
NetworkFlows: defaultNetworkConfig,
Processes: process.CollectConfig{
RunMode: process.RunModePrivileged,
Expand Down
2 changes: 1 addition & 1 deletion pkg/transform/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
// UnmatchHeuristic detects the route field using a heuristic
UnmatchHeuristic = UnmatchType("heuristic")

UnmatchDefault = UnmatchWildcard
UnmatchDefault = UnmatchHeuristic
)

type IgnoreMode string
Expand Down
Loading