Signed-off-by: AJ Bowen <aj@soulshake.net>
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -5095,9 +5095,9 @@ paths: |
| 5095 | 5095 |
This endpoint returns a live stream of a container’s resource usage |
| 5096 | 5096 |
statistics. |
| 5097 | 5097 |
|
| 5098 |
- The `precpu_stats` is the CPU statistic of last read, which is used |
|
| 5099 |
- for calculating the CPU usage percentage. It is not the same as the |
|
| 5100 |
- `cpu_stats` field. |
|
| 5098 |
+ The `precpu_stats` is the CPU statistic of the *previous* read, and is |
|
| 5099 |
+ used to calculate the CPU usage percentage. It is not an exact copy |
|
| 5100 |
+ of the `cpu_stats` field. |
|
| 5101 | 5101 |
|
| 5102 | 5102 |
If either `precpu_stats.online_cpus` or `cpu_stats.online_cpus` is |
| 5103 | 5103 |
nil then for compatibility with older daemons the length of the |
| ... | ... |
@@ -739,7 +739,7 @@ This endpoint returns a live stream of a container's resource usage statistics. |
| 739 | 739 |
} |
| 740 | 740 |
} |
| 741 | 741 |
|
| 742 |
-The `precpu_stats` is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 742 |
+The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 743 | 743 |
|
| 744 | 744 |
**Query parameters**: |
| 745 | 745 |
|
| ... | ... |
@@ -748,7 +748,7 @@ This endpoint returns a live stream of a container's resource usage statistics. |
| 748 | 748 |
} |
| 749 | 749 |
} |
| 750 | 750 |
|
| 751 |
-The `precpu_stats` is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 751 |
+The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 752 | 752 |
|
| 753 | 753 |
**Query parameters**: |
| 754 | 754 |
|
| ... | ... |
@@ -829,7 +829,7 @@ This endpoint returns a live stream of a container's resource usage statistics. |
| 829 | 829 |
} |
| 830 | 830 |
} |
| 831 | 831 |
|
| 832 |
-The `precpu_stats` is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 832 |
+The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 833 | 833 |
|
| 834 | 834 |
**Query parameters**: |
| 835 | 835 |
|
| ... | ... |
@@ -957,7 +957,7 @@ This endpoint returns a live stream of a container's resource usage statistics. |
| 957 | 957 |
} |
| 958 | 958 |
} |
| 959 | 959 |
|
| 960 |
-The `precpu_stats` is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 960 |
+The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 961 | 961 |
|
| 962 | 962 |
**Query parameters**: |
| 963 | 963 |
|
| ... | ... |
@@ -986,7 +986,7 @@ This endpoint returns a live stream of a container's resource usage statistics. |
| 986 | 986 |
} |
| 987 | 987 |
} |
| 988 | 988 |
|
| 989 |
-The `precpu_stats` is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 989 |
+The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 990 | 990 |
|
| 991 | 991 |
**Query parameters**: |
| 992 | 992 |
|
| ... | ... |
@@ -1036,7 +1036,7 @@ This endpoint returns a live stream of a container's resource usage statistics. |
| 1036 | 1036 |
} |
| 1037 | 1037 |
} |
| 1038 | 1038 |
|
| 1039 |
-The `precpu_stats` is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 1039 |
+The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field. |
|
| 1040 | 1040 |
|
| 1041 | 1041 |
**Query parameters**: |
| 1042 | 1042 |
|