MKE cAdvsior metrics¶
Once you have enabled cAdvisor and generated an auth token, you can issue the following command to access the cAdvisor metrics:
curl -sk -H
"Authorization: Bearer $AUTHTOKEN"
"$<mke_url>/metricsservice/query?query=$<mke_specific_metric>\[$<time_duration>\]"
The Prometheus container metrics exposed by cAdvisor are presented below:
cadvisor_version_info¶
Units |
N/A |
---|---|
Description |
A metric with a constant |
Labels |
|
container_blkio_device_usage_total¶
Units |
bytes |
---|---|
Description |
The Block I/O (blkio) device bytes usage. |
Labels |
|
container_cpu_system_seconds_total¶
Value |
seconds |
---|---|
Description |
Cumulative system CPU time consumed. |
Labels |
|
container_cpu_usage_seconds_total¶
Value |
seconds |
---|---|
Description |
Cumulative CPU time consumed. |
Labels |
|
container_cpu_user_seconds_total¶
Value |
seconds |
---|---|
Description |
Cumulative user CPU time consumed. |
Labels |
|
container_fs_reads_bytes_total¶
Units |
bytes |
---|---|
Description |
Cumulative count of bytes read. |
Labels |
|
container_fs_reads_total¶
Value |
integer |
---|---|
Description |
Cumulative count of reads completed. |
Labels |
|
container_fs_writes_bytes_total¶
Units |
bytes |
---|---|
Description |
Cumulative count of bytes written. |
Labels |
|
container_fs_writes_total¶
Value |
integer |
---|---|
Description |
Cumulative count of writes completed. |
Labels |
|
container_last_seen¶
Units |
timestamp |
---|---|
Description |
Last time a container was seen by the exporter. |
Labels |
|
container_memory_cache¶
Units |
bytes |
---|---|
Description |
Total page cache memory. |
Labels |
|
container_memory_failcnt¶
Value |
integer |
---|---|
Description |
Number of memory usage hits limits. |
Labels |
|
container_memory_failures_total¶
Value |
integer |
---|---|
Description |
Cumulative count of memory allocation failures. |
Labels |
|
container_memory_mapped_file¶
Units |
bytes |
---|---|
Description |
Size of memory mapped files. |
Labels |
|
container_memory_max_usage_bytes¶
Units |
bytes |
---|---|
Description |
Maximum memory usage recorded. |
Labels |
|
container_memory_rss¶
Units |
bytes |
---|---|
Description |
Size of RSS. |
Labels |
|
container_memory_swap¶
Units |
bytes |
---|---|
Description |
Container swap usage. |
Labels |
|
container_memory_usage_bytes¶
Units |
bytes |
---|---|
Description |
Current memory usage, including all memory regardless of when it was accessed. |
Labels |
|
container_memory_working_set_bytes¶
Units |
bytes |
---|---|
Description |
Current working set. |
Labels |
|
container_network_receive_bytes_total¶
Units |
bytes |
---|---|
Description |
Cumulative count of bytes received. |
Labels |
|
container_network_receive_errors_total¶
Value |
integer |
---|---|
Description |
Cumulative count of errors encountered while receiving. |
Labels |
|
container_network_receive_packets_dropped_total¶
Value |
integer |
---|---|
Description |
Cumulative count of packets dropped while receiving. |
Labels |
|
container_network_receive_packets_total¶
Value |
integer |
---|---|
Description |
Cumulative count of packets received. |
Labels |
|
container_network_transmit_bytes_total¶
Value |
integer |
---|---|
Description |
Cumulative count of bytes transmitted. |
Labels |
|
container_network_transmit_errors_total¶
Value |
integer |
---|---|
Description |
Cumulative count of errors encountered while transmitting. |
Labels |
|
container_network_transmit_packets_dropped_total¶
Value |
integer |
---|---|
Description |
Cumulative count of packets dropped while transmitting. |
Labels |
|
container_network_transmit_packets_total¶
Value |
integer |
---|---|
Description |
Cumulative count of packets transmitted. |
Labels |
|
container_scrape_error¶
Units |
N/A |
---|---|
Description |
|
Labels |
|
container_spec_cpu_period¶
Units |
N/A |
---|---|
Description |
CPU period of the container. |
Labels |
|
container_spec_memory_limit_bytes¶
Units |
bytes |
---|---|
Description |
Memory limit for the container. |
Labels |
|
container_spec_memory_reservation_limit_bytes¶
Units |
bytes |
---|---|
Description |
Memory reservation limit for the container. |
Labels |
|
container_spec_memory_swap_limit_bytes¶
Units |
bytes |
---|---|
Description |
Memory swap limit for the container. |
Labels |
|
container_start_time_seconds¶
Value |
seconds |
---|---|
Description |
Start time of the container since unix epoch. |
Labels |
|
machine_cpu_cores¶
Value |
integer |
---|---|
Description |
Number of logical CPU cores. |
Labels |
|
machine_cpu_physical_cores¶
Value |
integer |
---|---|
Description |
Number of physical CPU cores. |
Labels |
|
machine_cpu_sockets¶
Value |
integer |
---|---|
Description |
Number of CPU sockets. |
Labels |
|
machine_memory_bytes¶
Units |
bytes |
---|---|
Description |
Amount of memory installed on the machine. |
Labels |
|
machine_nvm_avg_power_budget_watts¶
Units |
watts |
---|---|
Description |
NVM power budget. |
Labels |
|
machine_nvm_capacity¶
Units |
bytes |
---|---|
Description |
NVM capacity value, labeled by NVM mode (memory mode or app direct mode). |
Labels |
|
machine_scrape_error¶
Value |
integer |
---|---|
Description |
|
Labels |
|