[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

container network stats



Is there a way to retrieve network statistics for containers?
The following query shows zeros for a container that we know has network traffic.
Alan

curl -X GET --insecure --key /etc/origin/master/admin.key --cert /etc/origin/master/admin.crt https://127.0.0.1:10250/stats/gold-qos/repo-repl-7/18f71a28-3918-11e6-8a58-54ab3a2919a1/mongo

 "network": {
     "name": "",
     "rx_bytes": 0,
     "rx_packets": 0,
     "rx_errors": 0,
     "rx_dropped": 0,
     "tx_bytes": 0,
     "tx_packets": 0,
     "tx_errors": 0,
     "tx_dropped": 0,
     "tcp": {
      "Established": 0,
      "SynSent": 0,
      "SynRecv": 0,
      "FinWait1": 0,
      "FinWait2": 0,
      "TimeWait": 0,
      "Close": 0,
      "CloseWait": 0,
      "LastAck": 0,
      "Listen": 0,
      "Closing": 0
     },
     "tcp6": {
...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]