Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bulk meter stats fetch support in syncd #1460

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 14, 2024

  1. Add Flex counters bulk Dash meter stats fetch support in syncd

    This PR adds syncd FlexCounter support to periodically fetch
    SAI bulk stats for Dash meter buckets and write the stats to
    COUNTERS_DB.
    Multiple Meter buckets, each with inbound and outbound byte counters,
    are internally allocated for each ENI object in the Dash pipeline.
    To support this a new DashMeterCounterContext class is derived from
    BaseCounterContext that tracks and invokes SAI bulkGetStats for all the
    meter bucket objects for each ENI object added to the context.
    
    Reference -
    https://github.com/sonic-net/DASH/blob/main/documentation/metering/metering.md
    
    Signed-off-by: Mukesh MV <[email protected]>
    mukeshmv committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    ef21445 View commit details
    Browse the repository at this point in the history