Skip to content

Commit 1fa5899

Browse files
committed
Sort container metrics items in doc
1 parent 2dc3079 commit 1fa5899

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docs/storage/prometheus.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Metric name | Type | Description | Unit (where applicable) | option parameter |
2727
`container_cpu_cfs_throttled_seconds_total` | Counter | Total time duration the container has been throttled | seconds | |
2828
`container_cpu_load_average_10s` | Gauge | Value of container cpu load average over the last 10 seconds | | |
2929
`container_cpu_schedstat_run_periods_total` | Counter | Number of times processes of the cgroup have run on the cpu | | sched |
30-
`container_cpu_schedstat_run_seconds_total` | Counter | Time duration the processes of the container have run on the CPU | seconds | sched |
3130
`container_cpu_schedstat_runqueue_seconds_total` | Counter | Time duration processes of the container have been waiting on a runqueue | seconds | sched |
31+
`container_cpu_schedstat_run_seconds_total` | Counter | Time duration the processes of the container have run on the CPU | seconds | sched |
3232
`container_cpu_system_seconds_total` | Counter | Cumulative system cpu time consumed | seconds | |
3333
`container_cpu_usage_seconds_total` | Counter | Cumulative cpu time consumed | seconds | |
3434
`container_cpu_user_seconds_total` | Counter | Cumulative user cpu time consumed | seconds | |
@@ -40,14 +40,14 @@ Metric name | Type | Description | Unit (where applicable) | option parameter |
4040
`container_fs_io_time_weighted_seconds_total` | Counter | Cumulative weighted I/O time | seconds | diskIO |
4141
`container_fs_limit_bytes` | Gauge | Number of bytes that can be consumed by the container on this filesystem | bytes | disk |
4242
`container_fs_reads_bytes_total` | Counter | Cumulative count of bytes read | bytes | diskIO |
43-
`container_fs_reads_total` | Counter | Cumulative count of reads completed | | diskIO |
4443
`container_fs_read_seconds_total` | Counter | Cumulative count of seconds spent reading | | diskIO |
4544
`container_fs_reads_merged_total` | Counter | Cumulative count of reads merged | | diskIO |
45+
`container_fs_reads_total` | Counter | Cumulative count of reads completed | | diskIO |
4646
`container_fs_sector_reads_total` | Counter | Cumulative count of sector reads completed | | diskIO |
4747
`container_fs_sector_writes_total` | Counter | Cumulative count of sector writes completed | | diskIO |
4848
`container_fs_usage_bytes` | Gauge | Number of bytes that are consumed by the container on this filesystem | bytes | disk |
49-
`container_fs_write_seconds_total` | Counter | Cumulative count of seconds spent writing | seconds | diskIO |
5049
`container_fs_writes_bytes_total` | Counter | Cumulative count of bytes written | bytes | diskIO |
50+
`container_fs_write_seconds_total` | Counter | Cumulative count of seconds spent writing | seconds | diskIO |
5151
`container_fs_writes_merged_total` | Counter | Cumulative count of writes merged | | diskIO |
5252
`container_fs_writes_total` | Counter | Cumulative count of writes completed | | diskIO |
5353
`container_hugetlb_failcnt` | Counter | Number of hugepage usage hits limits | | hugetlb |
@@ -60,40 +60,40 @@ Metric name | Type | Description | Unit (where applicable) | option parameter |
6060
`container_memory_cache` | Gauge | Total page cache memory | bytes | |
6161
`container_memory_failcnt` | Counter | Number of memory usage hits limits | | |
6262
`container_memory_failures_total` | Counter | Cumulative count of memory allocation failures | | |
63-
`container_memory_numa_pages` | Gauge | Number of used pages per NUMA node | | memory_numa |
63+
`container_memory_mapped_file` | Gauge | Size of memory mapped files | bytes | |
6464
`container_memory_max_usage_bytes` | Gauge | Maximum memory usage recorded | bytes | |
65+
`container_memory_migrate` | Gauge | Memory migrate status | | cpuset |
66+
`container_memory_numa_pages` | Gauge | Number of used pages per NUMA node | | memory_numa |
6567
`container_memory_rss` | Gauge | Size of RSS | bytes | |
6668
`container_memory_swap` | Gauge | Container swap usage | bytes | |
67-
`container_memory_mapped_file` | Gauge | Size of memory mapped files | bytes | |
68-
`container_memory_migrate` | Gauge | Memory migrate status | | cpuset |
6969
`container_memory_usage_bytes` | Gauge | Current memory usage, including all memory regardless of when it was accessed | bytes | |
7070
`container_memory_working_set_bytes` | Gauge | Current working set | bytes | |
7171
`container_network_receive_bytes_total` | Counter | Cumulative count of bytes received | bytes | network |
72+
`container_network_receive_errors_total` | Counter | Cumulative count of errors encountered while receiving | | network |
7273
`container_network_receive_packets_dropped_total` | Counter | Cumulative count of packets dropped while receiving | | network |
7374
`container_network_receive_packets_total` | Counter | Cumulative count of packets received | | network |
74-
`container_network_receive_errors_total` | Counter | Cumulative count of errors encountered while receiving | | network |
75+
`container_network_tcp6_usage_total` | Gauge | tcp6 connection usage statistic for container | | tcp |
76+
`container_network_tcp_usage_total` | Gauge | tcp connection usage statistic for container | | tcp |
7577
`container_network_transmit_bytes_total` | Counter | Cumulative count of bytes transmitted | bytes | network |
76-
`container_network_transmit_packets_total` | Counter | Cumulative count of packets transmitted | | network |
77-
`container_network_transmit_packets_dropped_total` | Counter | Cumulative count of packets dropped while transmitting | | network |
7878
`container_network_transmit_errors_total` | Counter | Cumulative count of errors encountered while transmitting | | network |
79-
`container_network_tcp_usage_total` | Gauge | tcp connection usage statistic for container | | tcp |
80-
`container_network_tcp6_usage_total` | Gauge | tcp6 connection usage statistic for container | | tcp |
81-
`container_network_udp_usage_total` | Gauge | udp connection usage statistic for container | | udp |
79+
`container_network_transmit_packets_dropped_total` | Counter | Cumulative count of packets dropped while transmitting | | network |
80+
`container_network_transmit_packets_total` | Counter | Cumulative count of packets transmitted | | network |
8281
`container_network_udp6_usage_total` | Gauge | udp6 connection usage statistic for container | | udp |
82+
`container_network_udp_usage_total` | Gauge | udp connection usage statistic for container | | udp |
8383
`container_perf_events_total` | Counter | Scaled counter of perf core event (event can be identified by `event` label and `cpu` indicates the core for which event was measured). See [perf event configuration](../runtime_options.md#perf-events). | | | libpfm
8484
`container_perf_metric_scaling_ratio` | Gauge | Scaling ratio for perf event counter (event can be identified by `event` label and `cpu` indicates the core for which event was measured). See [perf event configuration](../runtime_options.md#perf-events). | | | libpfm
85+
`container_perf_uncore_events_scaling_ratio` | Gauge | Scaling ratio for perf uncore event counter (event can be identified by `event` label, `pmu` and `socket` lables indicate the PMU and the CPU socket for which event was measured). See [perf event configuration](../runtime_options.md#perf-events). Metric exists only for main cgroup (id="/"). | | | libpfm
86+
`container_perf_uncore_events_total` | Counter | Scaled counter of perf uncore event (event can be identified by `event` label, `pmu` and `socket` lables indicate the PMU and the CPU socket for which event was measured). See [perf event configuration](../runtime_options.md#perf-events)). Metric exists only for main cgroup (id="/").| | | libpfm
8587
`container_processes` | Gauge | Number of processes running inside the container | | process |
8688
`container_referenced_bytes` | Gauge | Container referenced bytes during last measurements cycle based on Referenced field in /proc/smaps file, with /proc/PIDs/clear_refs set to 1 after defined number of cycles configured through `referenced_reset_interval` cAdvisor parameter.</br>Warning: this is intrusive collection because can influence kernel page reclaim policy and add latency. Refer to https://github.com/brendangregg/wss#wsspl-referenced-page-flag for more details. | bytes | referenced_memory |
8789
`container_spec_cpu_period` | Gauge | CPU period of the container | | |
8890
`container_spec_cpu_quota` | Gauge | CPU quota of the container | | |
8991
`container_spec_cpu_shares` | Gauge | CPU share of the container | | |
9092
`container_spec_memory_limit_bytes` | Gauge | Memory limit for the container | bytes | |
91-
`container_spec_memory_swap_limit_bytes` | Gauge | Memory swap limit for the container | bytes | |
9293
`container_spec_memory_reservation_limit_bytes` | Gauge | Memory reservation limit for the container | bytes | |
94+
`container_spec_memory_swap_limit_bytes` | Gauge | Memory swap limit for the container | bytes | |
9395
`container_start_time_seconds` | Gauge | Start time of the container since unix epoch | seconds | |
9496
`container_tasks_state` | Gauge | Number of tasks in given state (`sleeping`, `running`, `stopped`, `uninterruptible`, or `ioawaiting`) | | |
95-
`container_perf_uncore_events_total` | Counter | Scaled counter of perf uncore event (event can be identified by `event` label, `pmu` and `socket` lables indicate the PMU and the CPU socket for which event was measured). See [perf event configuration](../runtime_options.md#perf-events)). Metric exists only for main cgroup (id="/").| | | libpfm
96-
`container_perf_uncore_events_scaling_ratio` | Gauge | Scaling ratio for perf uncore event counter (event can be identified by `event` label, `pmu` and `socket` lables indicate the PMU and the CPU socket for which event was measured). See [perf event configuration](../runtime_options.md#perf-events). Metric exists only for main cgroup (id="/"). | | | libpfm
9797

9898
## Prometheus hardware metrics
9999

0 commit comments

Comments
 (0)