Skip to content

updating python bindings to expose all the LB stats counters. #196

Description

@yakyakyak

Two decisive findings worth flagging now:

  1. lbadm --overview already prints exactly the counters you'd want (tmp/e2sar_src/bin/lbadm.cpp:288-296): per worker — fillpercent, controlsignal, slotsassigned, totalEventsRecv, totalEventsReassembled, reassembly-err, totalEventsDequeued, totalEventEnqueueErr, totalBytesRecv, totalPacketsRecv.

  2. But the Python bindings do not expose them. py_e2sarCP.cpp:50-60 binds WorkerStatus with only name/fill/control/slots/lastupdated. So the structured route is closed — capture has to go through lbadm text. Let me verify the counters are actually populated before I build a plan around them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions