Sergey Urbanovich created MESOS-9188:
----------------------------------------

             Summary: Expose more network statistics for containers on CNI 
network in the `network/cni` isolator.
                 Key: MESOS-9188
                 URL: https://issues.apache.org/jira/browse/MESOS-9188
             Project: Mesos
          Issue Type: Task
          Components: containerization
    Affects Versions: 1.7.0
            Reporter: Sergey Urbanovich


This is a second step after MESOS-5647. We need to expose more networking 
metrics for containers on CNI network in the `network/cni` isolator. At the 
moment `usage()` method calls `getifaddrs(3)` to get limited statistics such as 
received/transmitted bytes, packets, errors and dropped packets. It works on 
any modern linux-based system. `usage()` method could use Netlink Protocol 
Library to get more metrics and expose it into `ResourceStatistics`. Please 
create the netlink socket in the corresponding network namespace through the 
`NamespaceRunner` and re-use the socket in `usage()`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to