public static interface Protos.ResourceStatisticsOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.CgroupInfo.Blkio.Statistics |
getBlkioStatistics()
Cgroups blkio statistics.
|
Protos.CgroupInfo.Blkio.StatisticsOrBuilder |
getBlkioStatisticsOrBuilder()
Cgroups blkio statistics.
|
double |
getCpusLimit()
Hard CPU limit.
|
int |
getCpusNrPeriods()
cpu.stat on process throttling (for contention issues).
|
int |
getCpusNrThrottled()
optional uint32 cpus_nr_throttled = 8; |
double |
getCpusSoftLimit()
Soft CPU limit.
|
double |
getCpusSystemTimeSecs()
optional double cpus_system_time_secs = 3; |
double |
getCpusThrottledTimeSecs()
optional double cpus_throttled_time_secs = 9; |
double |
getCpusUserTimeSecs()
CPU Usage Information:
Total CPU time spent in user mode, and kernel mode.
|
long |
getDiskLimitBytes()
Disk Usage Information for executor working directory.
|
Protos.DiskStatistics |
getDiskStatistics(int index)
Per disk (resource) statistics.
|
int |
getDiskStatisticsCount()
Per disk (resource) statistics.
|
java.util.List<Protos.DiskStatistics> |
getDiskStatisticsList()
Per disk (resource) statistics.
|
Protos.DiskStatisticsOrBuilder |
getDiskStatisticsOrBuilder(int index)
Per disk (resource) statistics.
|
java.util.List<? extends Protos.DiskStatisticsOrBuilder> |
getDiskStatisticsOrBuilderList()
Per disk (resource) statistics.
|
long |
getDiskUsedBytes()
optional uint64 disk_used_bytes = 27; |
long |
getMemAnonBytes()
optional uint64 mem_anon_bytes = 11; |
long |
getMemCacheBytes()
mem_cache_bytes is added in 0.23.0 to represent page cache usage.
|
long |
getMemCriticalPressureCounter()
optional uint64 mem_critical_pressure_counter = 34; |
long |
getMemFileBytes()
TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in
0.23.0 and will be removed in 0.24.0.
|
long |
getMemLimitBytes()
Hard memory limit.
|
long |
getMemLowPressureCounter()
Number of occurrences of different levels of memory pressure
events reported by memory cgroup.
|
long |
getMemMappedFileBytes()
optional uint64 mem_mapped_file_bytes = 12; |
long |
getMemMediumPressureCounter()
optional uint64 mem_medium_pressure_counter = 33; |
long |
getMemRssBytes()
Since 0.23.0, mem_rss_bytes is changed to represent only
anonymous memory usage.
|
long |
getMemSoftLimitBytes()
Soft memory limit.
|
long |
getMemSwapBytes()
This is only set if swap is enabled.
|
long |
getMemTotalBytes()
mem_total_bytes was added in 0.23.0 to represent the total memory
of a process in RAM (as opposed to in Swap).
|
long |
getMemTotalMemswBytes()
Total memory + swap usage.
|
long |
getMemUnevictableBytes()
optional uint64 mem_unevictable_bytes = 41; |
long |
getNetRxBytes()
optional uint64 net_rx_bytes = 15; |
long |
getNetRxDropped()
optional uint64 net_rx_dropped = 17; |
long |
getNetRxErrors()
optional uint64 net_rx_errors = 16; |
long |
getNetRxPackets()
Network Usage Information:
|
Protos.SNMPStatistics |
getNetSnmpStatistics()
Network SNMP statistics for each container.
|
Protos.SNMPStatisticsOrBuilder |
getNetSnmpStatisticsOrBuilder()
Network SNMP statistics for each container.
|
double |
getNetTcpActiveConnections()
optional double net_tcp_active_connections = 28; |
double |
getNetTcpRttMicrosecsP50()
The kernel keeps track of RTT (round-trip time) for its TCP
sockets.
|
double |
getNetTcpRttMicrosecsP90()
optional double net_tcp_rtt_microsecs_p90 = 23; |
double |
getNetTcpRttMicrosecsP95()
optional double net_tcp_rtt_microsecs_p95 = 24; |
double |
getNetTcpRttMicrosecsP99()
optional double net_tcp_rtt_microsecs_p99 = 25; |
double |
getNetTcpTimeWaitConnections()
optional double net_tcp_time_wait_connections = 29; |
Protos.TrafficControlStatistics |
getNetTrafficControlStatistics(int index)
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
int |
getNetTrafficControlStatisticsCount()
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
java.util.List<Protos.TrafficControlStatistics> |
getNetTrafficControlStatisticsList()
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
Protos.TrafficControlStatisticsOrBuilder |
getNetTrafficControlStatisticsOrBuilder(int index)
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
java.util.List<? extends Protos.TrafficControlStatisticsOrBuilder> |
getNetTrafficControlStatisticsOrBuilderList()
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
long |
getNetTxBytes()
optional uint64 net_tx_bytes = 19; |
long |
getNetTxDropped()
optional uint64 net_tx_dropped = 21; |
long |
getNetTxErrors()
optional uint64 net_tx_errors = 20; |
long |
getNetTxPackets()
optional uint64 net_tx_packets = 18; |
Protos.PerfStatistics |
getPerf()
Perf statistics.
|
Protos.PerfStatisticsOrBuilder |
getPerfOrBuilder()
Perf statistics.
|
int |
getProcesses()
optional uint32 processes = 30; |
int |
getThreads()
optional uint32 threads = 31; |
double |
getTimestamp()
Snapshot time, in seconds since the Epoch.
|
boolean |
hasBlkioStatistics()
Cgroups blkio statistics.
|
boolean |
hasCpusLimit()
Hard CPU limit.
|
boolean |
hasCpusNrPeriods()
cpu.stat on process throttling (for contention issues).
|
boolean |
hasCpusNrThrottled()
optional uint32 cpus_nr_throttled = 8; |
boolean |
hasCpusSoftLimit()
Soft CPU limit.
|
boolean |
hasCpusSystemTimeSecs()
optional double cpus_system_time_secs = 3; |
boolean |
hasCpusThrottledTimeSecs()
optional double cpus_throttled_time_secs = 9; |
boolean |
hasCpusUserTimeSecs()
CPU Usage Information:
Total CPU time spent in user mode, and kernel mode.
|
boolean |
hasDiskLimitBytes()
Disk Usage Information for executor working directory.
|
boolean |
hasDiskUsedBytes()
optional uint64 disk_used_bytes = 27; |
boolean |
hasMemAnonBytes()
optional uint64 mem_anon_bytes = 11; |
boolean |
hasMemCacheBytes()
mem_cache_bytes is added in 0.23.0 to represent page cache usage.
|
boolean |
hasMemCriticalPressureCounter()
optional uint64 mem_critical_pressure_counter = 34; |
boolean |
hasMemFileBytes()
TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in
0.23.0 and will be removed in 0.24.0.
|
boolean |
hasMemLimitBytes()
Hard memory limit.
|
boolean |
hasMemLowPressureCounter()
Number of occurrences of different levels of memory pressure
events reported by memory cgroup.
|
boolean |
hasMemMappedFileBytes()
optional uint64 mem_mapped_file_bytes = 12; |
boolean |
hasMemMediumPressureCounter()
optional uint64 mem_medium_pressure_counter = 33; |
boolean |
hasMemRssBytes()
Since 0.23.0, mem_rss_bytes is changed to represent only
anonymous memory usage.
|
boolean |
hasMemSoftLimitBytes()
Soft memory limit.
|
boolean |
hasMemSwapBytes()
This is only set if swap is enabled.
|
boolean |
hasMemTotalBytes()
mem_total_bytes was added in 0.23.0 to represent the total memory
of a process in RAM (as opposed to in Swap).
|
boolean |
hasMemTotalMemswBytes()
Total memory + swap usage.
|
boolean |
hasMemUnevictableBytes()
optional uint64 mem_unevictable_bytes = 41; |
boolean |
hasNetRxBytes()
optional uint64 net_rx_bytes = 15; |
boolean |
hasNetRxDropped()
optional uint64 net_rx_dropped = 17; |
boolean |
hasNetRxErrors()
optional uint64 net_rx_errors = 16; |
boolean |
hasNetRxPackets()
Network Usage Information:
|
boolean |
hasNetSnmpStatistics()
Network SNMP statistics for each container.
|
boolean |
hasNetTcpActiveConnections()
optional double net_tcp_active_connections = 28; |
boolean |
hasNetTcpRttMicrosecsP50()
The kernel keeps track of RTT (round-trip time) for its TCP
sockets.
|
boolean |
hasNetTcpRttMicrosecsP90()
optional double net_tcp_rtt_microsecs_p90 = 23; |
boolean |
hasNetTcpRttMicrosecsP95()
optional double net_tcp_rtt_microsecs_p95 = 24; |
boolean |
hasNetTcpRttMicrosecsP99()
optional double net_tcp_rtt_microsecs_p99 = 25; |
boolean |
hasNetTcpTimeWaitConnections()
optional double net_tcp_time_wait_connections = 29; |
boolean |
hasNetTxBytes()
optional uint64 net_tx_bytes = 19; |
boolean |
hasNetTxDropped()
optional uint64 net_tx_dropped = 21; |
boolean |
hasNetTxErrors()
optional uint64 net_tx_errors = 20; |
boolean |
hasNetTxPackets()
optional uint64 net_tx_packets = 18; |
boolean |
hasPerf()
Perf statistics.
|
boolean |
hasProcesses()
optional uint32 processes = 30; |
boolean |
hasThreads()
optional uint32 threads = 31; |
boolean |
hasTimestamp()
Snapshot time, in seconds since the Epoch.
|
boolean hasTimestamp()
Snapshot time, in seconds since the Epoch.
required double timestamp = 1;
double getTimestamp()
Snapshot time, in seconds since the Epoch.
required double timestamp = 1;
boolean hasProcesses()
optional uint32 processes = 30;
int getProcesses()
optional uint32 processes = 30;
boolean hasThreads()
optional uint32 threads = 31;
int getThreads()
optional uint32 threads = 31;
boolean hasCpusUserTimeSecs()
CPU Usage Information: Total CPU time spent in user mode, and kernel mode.
optional double cpus_user_time_secs = 2;
double getCpusUserTimeSecs()
CPU Usage Information: Total CPU time spent in user mode, and kernel mode.
optional double cpus_user_time_secs = 2;
boolean hasCpusSystemTimeSecs()
optional double cpus_system_time_secs = 3;
double getCpusSystemTimeSecs()
optional double cpus_system_time_secs = 3;
boolean hasCpusLimit()
Hard CPU limit.
optional double cpus_limit = 4;
double getCpusLimit()
Hard CPU limit.
optional double cpus_limit = 4;
boolean hasCpusSoftLimit()
Soft CPU limit.
optional double cpus_soft_limit = 45;
double getCpusSoftLimit()
Soft CPU limit.
optional double cpus_soft_limit = 45;
boolean hasCpusNrPeriods()
cpu.stat on process throttling (for contention issues).
optional uint32 cpus_nr_periods = 7;
int getCpusNrPeriods()
cpu.stat on process throttling (for contention issues).
optional uint32 cpus_nr_periods = 7;
boolean hasCpusNrThrottled()
optional uint32 cpus_nr_throttled = 8;
int getCpusNrThrottled()
optional uint32 cpus_nr_throttled = 8;
boolean hasCpusThrottledTimeSecs()
optional double cpus_throttled_time_secs = 9;
double getCpusThrottledTimeSecs()
optional double cpus_throttled_time_secs = 9;
boolean hasMemTotalBytes()
mem_total_bytes was added in 0.23.0 to represent the total memory of a process in RAM (as opposed to in Swap). This was previously reported as mem_rss_bytes, which was also changed in 0.23.0 to represent only the anonymous memory usage, to keep in sync with Linux kernel's (arguably erroneous) use of terminology.
optional uint64 mem_total_bytes = 36;
long getMemTotalBytes()
mem_total_bytes was added in 0.23.0 to represent the total memory of a process in RAM (as opposed to in Swap). This was previously reported as mem_rss_bytes, which was also changed in 0.23.0 to represent only the anonymous memory usage, to keep in sync with Linux kernel's (arguably erroneous) use of terminology.
optional uint64 mem_total_bytes = 36;
boolean hasMemTotalMemswBytes()
Total memory + swap usage. This is set if swap is enabled.
optional uint64 mem_total_memsw_bytes = 37;
long getMemTotalMemswBytes()
Total memory + swap usage. This is set if swap is enabled.
optional uint64 mem_total_memsw_bytes = 37;
boolean hasMemLimitBytes()
Hard memory limit.
optional uint64 mem_limit_bytes = 6;
long getMemLimitBytes()
Hard memory limit.
optional uint64 mem_limit_bytes = 6;
boolean hasMemSoftLimitBytes()
Soft memory limit.
optional uint64 mem_soft_limit_bytes = 38;
long getMemSoftLimitBytes()
Soft memory limit.
optional uint64 mem_soft_limit_bytes = 38;
boolean hasMemFileBytes()
TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in 0.23.0 and will be removed in 0.24.0.
optional uint64 mem_file_bytes = 10;
long getMemFileBytes()
TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in 0.23.0 and will be removed in 0.24.0.
optional uint64 mem_file_bytes = 10;
boolean hasMemAnonBytes()
optional uint64 mem_anon_bytes = 11;
long getMemAnonBytes()
optional uint64 mem_anon_bytes = 11;
boolean hasMemCacheBytes()
mem_cache_bytes is added in 0.23.0 to represent page cache usage.
optional uint64 mem_cache_bytes = 39;
long getMemCacheBytes()
mem_cache_bytes is added in 0.23.0 to represent page cache usage.
optional uint64 mem_cache_bytes = 39;
boolean hasMemRssBytes()
Since 0.23.0, mem_rss_bytes is changed to represent only anonymous memory usage. Note that neither its requiredness, type, name nor numeric tag has been changed.
optional uint64 mem_rss_bytes = 5;
long getMemRssBytes()
Since 0.23.0, mem_rss_bytes is changed to represent only anonymous memory usage. Note that neither its requiredness, type, name nor numeric tag has been changed.
optional uint64 mem_rss_bytes = 5;
boolean hasMemMappedFileBytes()
optional uint64 mem_mapped_file_bytes = 12;
long getMemMappedFileBytes()
optional uint64 mem_mapped_file_bytes = 12;
boolean hasMemSwapBytes()
This is only set if swap is enabled.
optional uint64 mem_swap_bytes = 40;
long getMemSwapBytes()
This is only set if swap is enabled.
optional uint64 mem_swap_bytes = 40;
boolean hasMemUnevictableBytes()
optional uint64 mem_unevictable_bytes = 41;
long getMemUnevictableBytes()
optional uint64 mem_unevictable_bytes = 41;
boolean hasMemLowPressureCounter()
Number of occurrences of different levels of memory pressure events reported by memory cgroup. Pressure listening (re)starts with these values set to 0 when slave (re)starts. See https://www.kernel.org/doc/Documentation/cgroups/memory.txt for more details.
optional uint64 mem_low_pressure_counter = 32;
long getMemLowPressureCounter()
Number of occurrences of different levels of memory pressure events reported by memory cgroup. Pressure listening (re)starts with these values set to 0 when slave (re)starts. See https://www.kernel.org/doc/Documentation/cgroups/memory.txt for more details.
optional uint64 mem_low_pressure_counter = 32;
boolean hasMemMediumPressureCounter()
optional uint64 mem_medium_pressure_counter = 33;
long getMemMediumPressureCounter()
optional uint64 mem_medium_pressure_counter = 33;
boolean hasMemCriticalPressureCounter()
optional uint64 mem_critical_pressure_counter = 34;
long getMemCriticalPressureCounter()
optional uint64 mem_critical_pressure_counter = 34;
boolean hasDiskLimitBytes()
Disk Usage Information for executor working directory.
optional uint64 disk_limit_bytes = 26;
long getDiskLimitBytes()
Disk Usage Information for executor working directory.
optional uint64 disk_limit_bytes = 26;
boolean hasDiskUsedBytes()
optional uint64 disk_used_bytes = 27;
long getDiskUsedBytes()
optional uint64 disk_used_bytes = 27;
java.util.List<Protos.DiskStatistics> getDiskStatisticsList()
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
Protos.DiskStatistics getDiskStatistics(int index)
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
int getDiskStatisticsCount()
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
java.util.List<? extends Protos.DiskStatisticsOrBuilder> getDiskStatisticsOrBuilderList()
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
Protos.DiskStatisticsOrBuilder getDiskStatisticsOrBuilder(int index)
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
boolean hasBlkioStatistics()
Cgroups blkio statistics.
optional .mesos.CgroupInfo.Blkio.Statistics blkio_statistics = 44;
Protos.CgroupInfo.Blkio.Statistics getBlkioStatistics()
Cgroups blkio statistics.
optional .mesos.CgroupInfo.Blkio.Statistics blkio_statistics = 44;
Protos.CgroupInfo.Blkio.StatisticsOrBuilder getBlkioStatisticsOrBuilder()
Cgroups blkio statistics.
optional .mesos.CgroupInfo.Blkio.Statistics blkio_statistics = 44;
boolean hasPerf()
Perf statistics.
optional .mesos.PerfStatistics perf = 13;
Protos.PerfStatistics getPerf()
Perf statistics.
optional .mesos.PerfStatistics perf = 13;
Protos.PerfStatisticsOrBuilder getPerfOrBuilder()
Perf statistics.
optional .mesos.PerfStatistics perf = 13;
boolean hasNetRxPackets()
Network Usage Information:
optional uint64 net_rx_packets = 14;
long getNetRxPackets()
Network Usage Information:
optional uint64 net_rx_packets = 14;
boolean hasNetRxBytes()
optional uint64 net_rx_bytes = 15;
long getNetRxBytes()
optional uint64 net_rx_bytes = 15;
boolean hasNetRxErrors()
optional uint64 net_rx_errors = 16;
long getNetRxErrors()
optional uint64 net_rx_errors = 16;
boolean hasNetRxDropped()
optional uint64 net_rx_dropped = 17;
long getNetRxDropped()
optional uint64 net_rx_dropped = 17;
boolean hasNetTxPackets()
optional uint64 net_tx_packets = 18;
long getNetTxPackets()
optional uint64 net_tx_packets = 18;
boolean hasNetTxBytes()
optional uint64 net_tx_bytes = 19;
long getNetTxBytes()
optional uint64 net_tx_bytes = 19;
boolean hasNetTxErrors()
optional uint64 net_tx_errors = 20;
long getNetTxErrors()
optional uint64 net_tx_errors = 20;
boolean hasNetTxDropped()
optional uint64 net_tx_dropped = 21;
long getNetTxDropped()
optional uint64 net_tx_dropped = 21;
boolean hasNetTcpRttMicrosecsP50()
The kernel keeps track of RTT (round-trip time) for its TCP sockets. RTT is a way to tell the latency of a container.
optional double net_tcp_rtt_microsecs_p50 = 22;
double getNetTcpRttMicrosecsP50()
The kernel keeps track of RTT (round-trip time) for its TCP sockets. RTT is a way to tell the latency of a container.
optional double net_tcp_rtt_microsecs_p50 = 22;
boolean hasNetTcpRttMicrosecsP90()
optional double net_tcp_rtt_microsecs_p90 = 23;
double getNetTcpRttMicrosecsP90()
optional double net_tcp_rtt_microsecs_p90 = 23;
boolean hasNetTcpRttMicrosecsP95()
optional double net_tcp_rtt_microsecs_p95 = 24;
double getNetTcpRttMicrosecsP95()
optional double net_tcp_rtt_microsecs_p95 = 24;
boolean hasNetTcpRttMicrosecsP99()
optional double net_tcp_rtt_microsecs_p99 = 25;
double getNetTcpRttMicrosecsP99()
optional double net_tcp_rtt_microsecs_p99 = 25;
boolean hasNetTcpActiveConnections()
optional double net_tcp_active_connections = 28;
double getNetTcpActiveConnections()
optional double net_tcp_active_connections = 28;
boolean hasNetTcpTimeWaitConnections()
optional double net_tcp_time_wait_connections = 29;
double getNetTcpTimeWaitConnections()
optional double net_tcp_time_wait_connections = 29;
java.util.List<Protos.TrafficControlStatistics> getNetTrafficControlStatisticsList()
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
Protos.TrafficControlStatistics getNetTrafficControlStatistics(int index)
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
int getNetTrafficControlStatisticsCount()
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
java.util.List<? extends Protos.TrafficControlStatisticsOrBuilder> getNetTrafficControlStatisticsOrBuilderList()
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
Protos.TrafficControlStatisticsOrBuilder getNetTrafficControlStatisticsOrBuilder(int index)
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
boolean hasNetSnmpStatistics()
Network SNMP statistics for each container.
optional .mesos.SNMPStatistics net_snmp_statistics = 42;
Protos.SNMPStatistics getNetSnmpStatistics()
Network SNMP statistics for each container.
optional .mesos.SNMPStatistics net_snmp_statistics = 42;
Protos.SNMPStatisticsOrBuilder getNetSnmpStatisticsOrBuilder()
Network SNMP statistics for each container.
optional .mesos.SNMPStatistics net_snmp_statistics = 42;