@tonbo/cli 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/tonbo.js +8 -2
- package/package.json +1 -1
package/dist/bin/tonbo.js
CHANGED
|
@@ -5690,7 +5690,13 @@ var MACHINE_COLUMNS = {
|
|
|
5690
5690
|
network_rx_bytes: ["NET IN", (value) => bytes(value)],
|
|
5691
5691
|
network_tx_bytes: ["NET OUT", (value) => bytes(value)],
|
|
5692
5692
|
internet_rx_bytes: ["INTERNET IN", (value) => bytes(value)],
|
|
5693
|
-
internet_tx_bytes: ["INTERNET OUT", (value) => bytes(value)]
|
|
5693
|
+
internet_tx_bytes: ["INTERNET OUT", (value) => bytes(value)],
|
|
5694
|
+
volume_throttled_requests: ["VOLUME THROTTLED", String],
|
|
5695
|
+
disk_stalled_seconds: ["DISK STALLED", (value) => `${value} s`],
|
|
5696
|
+
disk_read_bytes: ["DISK READ", (value) => bytes(value)],
|
|
5697
|
+
disk_write_bytes: ["DISK WRITTEN", (value) => bytes(value)],
|
|
5698
|
+
disk_read_ops: ["DISK READ OPS", String],
|
|
5699
|
+
disk_write_ops: ["DISK WRITE OPS", String]
|
|
5694
5700
|
};
|
|
5695
5701
|
function machineMetricsTable(granularity, points) {
|
|
5696
5702
|
const series = Object.keys(MACHINE_COLUMNS).filter(
|
|
@@ -7881,7 +7887,7 @@ var COMMAND_HELP = {
|
|
|
7881
7887
|
},
|
|
7882
7888
|
"tonbo machine metrics": {
|
|
7883
7889
|
about: [
|
|
7884
|
-
"Prints the Machine's metrics, one row per UTC hour or day: how long it was awake, its wakes and refused wakes and how long they took (the median and the longest), its average CPU (in cores) and memory while awake, the bytes on its network interface, Tonbo's traffic included,
|
|
7890
|
+
"Prints the Machine's metrics, one row per UTC hour or day: how long it was awake, its wakes and refused wakes and how long they took (the median and the longest), its average CPU (in cores) and memory while awake, the bytes on its network interface, Tonbo's traffic included, the bytes it exchanged with the internet, and its disks: the Volume drive's requests held back at the shape's disk limit, the time its own disks stalled on I/O, and their bytes and operations. Above zero, either of the first two means the Machine is hitting its shape's disk limit. A dash is a step it was never awake in, or for the disks one with no reading; the current step is still growing.",
|
|
7885
7891
|
"Give `--window`, or `--from` and `--to` with `--granularity` (at most 32 days hourly, 92 days daily). `--series` prints only the series it names. It carries no money: `tonbo usage show` says what it cost."
|
|
7886
7892
|
],
|
|
7887
7893
|
examples: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonbo/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "The Tonbo CLI. Compute, disks, databases and streams for AI agents: your agent picks what it needs, sets it up, and knows what it costs, from the command line.",
|
|
5
5
|
"homepage": "https://tonbo.dev",
|
|
6
6
|
"bugs": {
|