diff --git a/docs/sources/network/config.md b/docs/sources/network/config.md index 83614f369..254b923d5 100644 --- a/docs/sources/network/config.md +++ b/docs/sources/network/config.md @@ -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. diff --git a/pkg/beyla/network_cfg.go b/pkg/beyla/network_cfg.go index f42f4124d..b55bc699d 100644 --- a/pkg/beyla/network_cfg.go +++ b/pkg/beyla/network_cfg.go @@ -120,7 +120,7 @@ type NetworkConfig struct { } var defaultNetworkConfig = NetworkConfig{ - Source: EbpfSourceTC, + Source: EbpfSourceSock, AgentIPIface: "external", AgentIPType: "any", ExcludeInterfaces: []string{"lo"},