From 0c7d38f3c6e322f02210859c7188fb0a8c0e2f22 Mon Sep 17 00:00:00 2001 From: Nikola Grcevski <6207777+grcevski@users.noreply.github.com> Date: Thu, 11 Jul 2024 17:38:46 -0400 Subject: [PATCH] Switch default network mode to socket filter to avoid cilium conflict (#1008) --- docs/sources/network/config.md | 6 +++--- pkg/beyla/network_cfg.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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"},