Skip to content

Configurable sampling per test (1/N or percentage) #9

@pgigis

Description

@pgigis

Problem

Some tests should run on a small fraction of matched traffic to reduce overhead/impact.

Proposal

Add per-test sampling:

  • fixed percentage or 1/N
  • stable hashing to keep flow-consistent sampling

Alternatives considered

External sampling before OpenPenny.

Additional context

Useful when expanding a rule to large prefixes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions