Task #1199
closed
Added by Alex Afanasyev almost 11 years ago.
Updated over 10 years ago.
Description
Develop StatusServer
that collects forwarder-level statistics, and provides them in response to ControlCommand.
The statistics provided by this module are forwarder-level statistics:
- NFD version
- start timestamp
- current timestamp
- current number of NameTree entries
- current number of FIB entries
- current number of PIT entries (regardless of whether it is pending or satisfied)
- current number of Measurements entries
- current number of CS entries
- total number of incoming Interests since forwarder starts
- total number of outgoing Interests since forwarder starts
- total number of incoming Datas since forwarder starts
- total number of outgoing Datas since forwarder starts
The StatusServer
class does not provide:
- Parent task deleted (
#1177)
- Subject changed from Implementation of StatusServer to StatusServer
- Estimated time set to 5.00 h
- Description updated (diff)
20140211 conference call decides:
- NFD version, start time point, current time point are necessary
- statistics about forwarding and tables are useful but not required; which ones to include depend on cost of counter collection
- Description updated (diff)
- Assignee set to Junxiao Shi
- Description updated (diff)
- Status changed from New to In Progress
- Status changed from In Progress to Code review
- % Done changed from 0 to 20
I65ca4be685d3a9249488025813e00b9212e6abcc
Encoding and decoding functions are written for library, because they are shared between NFD and nfd-status.
- Start date set to 03/09/2014
- % Done changed from 20 to 40
I0664825d7b09b4e7e893876aefc5af10e53b90b1
Forwarder counters are defined (based on FaceCounters because they have same structure).
Pipelines increment counters.
This task is mainly blocked by #1152 which provides time::UtcPoint
type that is needed for start timestamp and current timestamp fields.
- Status changed from Code review to In Progress
20140315 conference call decides that this task can move forward by using boost::chrono type directly, instead of waiting for time::UtcPoint.
- Status changed from In Progress to Code review
- Status changed from Code review to In Progress
starting with the publisher in NFD
- Status changed from In Progress to Resolved
- % Done changed from 40 to 70
Idf2181dde857970f026e8147b60d09dea45007a1
Publisher code is uploaded as a draft.
I'll publish after I65ca4be685d3a9249488025813e00b9212e6abcc is merged.
- Status changed from Resolved to Code review
I65ca4be685d3a9249488025813e00b9212e6abcc is merged, so the publisher is ready for review.
I did a basic test with ndn-tlv-peek
.
Is anything missing in this Task or we can close it?
- Status changed from Code review to Closed
- % Done changed from 70 to 100
Also available in: Atom
PDF