You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Counters are stored as received and graphed as rates without ever resetting a port.
Requirements
REQ-CTR-001 Data and packet counters MUST use the widest width the port reports, and basic counters MUST be used only when extended counters are not supported.
REQ-CTR-002 Counter data sources MUST be COUNTER type with a maximum chosen per width so that a reset yields unknown, not a spike.
REQ-CTR-003 The plugin MUST NOT reset counters through any tool or API.
REQ-CTR-004 Octet counters, which the tools report as octets divided by four, MUST be converted to bytes in the graph definition, not in stored values.
REQ-CTR-005 A counter at its cap MUST be published as unknown and the port page MUST say it is saturated, according to the saturated-counter decision.
REQ-CTR-006 A value that is not numeric or was not supported by the port MUST be published as unknown, never 0.
Acceptance criteria
Fixture series with cap, reset, and wrap produce documented values.
Unit test: no argument vector or API call resets counters.
Graph of fixture traffic matches hand-computed bytes per second.
Activity