Skip to content

Commit

Permalink
Switch default network mode to socket filter to avoid cilium conflict (
Browse files Browse the repository at this point in the history
  • Loading branch information
grcevski authored Jul 11, 2024
1 parent 890ebbf commit 0c7d38f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/sources/network/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ network metrics (in the previous example, `otel_metrics_export`, but it also acc

Enables network metrics reporting in Beyla.

| YAML | Environment variable | Type | Default |
| -------------------- | ---------------------------------- | -------- | -------- |
| `source` | `BEYLA_NETWORK_SOURCE` | string | `tc` |
| YAML | Environment variable | Type | Default |
| -------------------- | ---------------------------------- | -------- | ------------------- |
| `source` | `BEYLA_NETWORK_SOURCE` | string | `socket_filter` |

Specifies the Linux Kernel feature used to source the network events Beyla reports.

Expand Down
2 changes: 1 addition & 1 deletion pkg/beyla/network_cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ type NetworkConfig struct {
}

var defaultNetworkConfig = NetworkConfig{
Source: EbpfSourceTC,
Source: EbpfSourceSock,
AgentIPIface: "external",
AgentIPType: "any",
ExcludeInterfaces: []string{"lo"},
Expand Down

0 comments on commit 0c7d38f

Please sign in to comment.