grafana / beyla

eBPF-based autoinstrumentation of web applications and network metrics
https://grafana.com/oss/beyla-ebpf/
Apache License 2.0
1.19k stars 77 forks source link

Network metrics: Include/Exclude filters do not seem to work #794

Open mariomac opened 2 weeks ago

mariomac commented 2 weeks ago

A configuration like this:

exclude_interfaces:
    - ens5
    - lo
    - tunl0
    - /^docker/
    - /^cali/

BEYLA_NETWORK_DEDUPER=none

The reported iface is "unknown" and even if the selected direction is ingress, the flows are egress: image

Attached logs: n.log

Cluster info:

{
  "clientVersion": {
    "major": "1",
    "minor": "27",
    "gitVersion": "v1.27.6",
    "gitCommit": "741c8db18a52787d734cbe4795f0b4ad860906d6",
    "gitTreeState": "clean",
    "buildDate": "2023-09-13T09:21:34Z",
    "goVersion": "go1.20.8",
    "compiler": "gc",
    "platform": "linux/amd64"
  },
  "kustomizeVersion": "v5.0.1",
  "serverVersion": {
    "major": "1",
    "minor": "27",
    "gitVersion": "v1.27.6",
    "gitCommit": "741c8db18a52787d734cbe4795f0b4ad860906d6",
    "gitTreeState": "clean",
    "buildDate": "2023-09-13T09:14:09Z",
    "goVersion": "go1.20.8",
    "compiler": "gc",
    "platform": "linux/amd64"
  }
}

CNI is Calico