xflows

module
v0.0.0-...-41b7643 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2026 License: MIT

README

XFlows

Go Version Go Report Card Downloads

X(DP)-based Flows
A SFlow agent designed for performance and ease of use.
SFlows in Console

Table of Contents

Features

  • Config Based: Insanely easy to configure to any variety of use cases.
  • Performant: All aspects were designed with performance in mind.
  • Small API: With only a few methods, there's not much to learn.
  • Fault Tolerant: Can specify several outputs at once.

Example

exporter, err := xflows.NewExporter("config.yaml")
if err != nil {
    logger.WithError(err).Fatal("Failed to create XFlows exporter")
}

exporter.ListenFlows(program.SFlows)

Yes, it is literally that easy.

FAQ

Why did you do this?

Well, I got bored. Needed something to do so this was a good spend of 24 hours.

Will this be fine in production?

Don't know til you've tried it but probably 🤷‍♂️

Directories

Path Synopsis
examples
loaders command
pkg
xdp

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL