beyla icon indicating copy to clipboard operation
beyla copied to clipboard

PoC: Netflow exporter

Open mariomac opened this issue 1 month ago • 2 comments

As an alternative to Prometheus, I added a PoC NetFlow exporter to Beyla Network metrics. To work, it requires a NetFlow collector such as the Netflow collector in OTEL-Collector-Contrib.

This currently only provides basic network data, missing any kubernetes decoration:

image

You can give a try by deploying the following two files:

https://github.com/mariomac/distributed-service-example/blob/main/netflow-otel-lgtm.yml https://github.com/mariomac/distributed-service-example/blob/main/netflow-beyla.yml

mariomac avatar Oct 03 '25 16:10 mariomac

Codecov Report

:x: Patch coverage is 8.71212% with 241 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 61.70%. Comparing base (e84bc71) to head (935e479). :warning: Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/export/netflow/netflow.go 2.13% 229 Missing :warning:
pkg/components/beyla.go 61.90% 6 Missing and 2 partials :warning:
pkg/beyla/config.go 42.85% 2 Missing and 2 partials :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2227      +/-   ##
==========================================
- Coverage   64.68%   61.70%   -2.98%     
==========================================
  Files          37       35       -2     
  Lines        3514     3084     -430     
==========================================
- Hits         2273     1903     -370     
+ Misses       1089     1009      -80     
- Partials      152      172      +20     
Flag Coverage Δ
integration-test ?
k8s-integration-test 61.60% <8.71%> (-4.76%) :arrow_down:
oats-test 14.82% <3.40%> (-1.07%) :arrow_down:
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov-commenter avatar Oct 03 '25 16:10 codecov-commenter

Oh very cool!

grcevski avatar Oct 07 '25 10:10 grcevski