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
gauge/counter #15
Comments
Good point. |
Thanks. BTW, is there any reason all the counters are 32? may be moved those to be 64. |
Initially, we just thought 32 might be enough for the current deployment. But I agree. 64 will be better. I also think we should use 64. |
Reopening as I think the type has to be reassessed for some other data nodes (e.g., res-mem-size). If the value may increase/decrease, then gauge64 should be used. |
Yes, you are right. I will check all the statistics data nodes to fix their types. I think the following nodes should use gauge64 at least:
|
Move all statistics data nodes that may increase/decrease to gauge64. (comments by issue #15) e.g., memory utilization, number of living connections, statistics in the last time window... Signed-off-by: jensenzhang <jingxuan.n.zhang@gmail.com>
Track suggestions from yangdoctors early review by Andy: 5 minute counters
size counters
update event counters
|
I suggest to set data type for num-event-max and num-even-min as uint32, we can find some example in RFC8532 and RFC8299. |
- Update description of `num-event-{max,min,avg}` to clarify the procedure to determine their values (#15) - Add `num-event-{total,max,min,avg}-last` for stats within the last time window Signed-off-by: jensenzhang <jingxuan.n.zhang@gmail.com>
About the time interval, yes, it is configured by |
Changed type of draft-ietf-alto-oam-yang/yang/ietf-alto-stats.yang Lines 85 to 102 in 5dea617
Changed type of draft-ietf-alto-oam-yang/yang/ietf-alto-stats.yang Lines 129 to 140 in 5dea617
Changed type of draft-ietf-alto-oam-yang/yang/ietf-alto-stats.yang Lines 198 to 228 in 5dea617
draft-ietf-alto-oam-yang/yang/ietf-alto-stats.yang Lines 229 to 266 in 5dea617
|
Please check when it makes sense to use a gauge rather than a counter. For example:
The text was updated successfully, but these errors were encountered: