Add sampling rate support using PacketSpace and PacketInterval

Open
#440 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@alopintsev is already working on this.

Since Dec 2, 2025.

  • #441 by @alopintsev — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
networking

Research direction

Start by tracing how goflow2 parses IPFIX sampling fields and calculates sampling rate. Check the existing handling of PacketSpace and PacketInterval, then identify where their values should be combined. Done means Nokia device records report the effective sampling rate as the sum of those fields; an open pull request already addresses this issue.

Written by the indexing model from the issue text.

Description

enhancement

Hello,

I'm encountering an issue with sampling rate detection from Nokia devices.

From analyzing the ipfix traffic dump, I can see that these devices represent the sampling rate using two separate fields: PacketSpace and PacketInterval. The effective sampling rate is the sum of these two values.

Currently, goflow2 does not support this method of calculating the sampling rate.

Best regards,
Alex

Dominant language
Go
Stars
817
Forks
182
Avg merge
4h 18m
Merged PRs (30d)
6

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from netsampler/goflow2

All issues in netsampler/goflow2

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.