@tonbo/cli 0.26.0 → 0.27.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 +6 -2
- package/package.json +1 -1
package/dist/bin/tonbo.js
CHANGED
|
@@ -6060,7 +6060,11 @@ var VOLUME_COLUMNS = {
|
|
|
6060
6060
|
write_bytes: ["WRITTEN", (value) => bytes(value)],
|
|
6061
6061
|
read_ops: ["READ OPS", String],
|
|
6062
6062
|
write_ops: ["WRITE OPS", String],
|
|
6063
|
-
trim_ops: ["TRIMS", String]
|
|
6063
|
+
trim_ops: ["TRIMS", String],
|
|
6064
|
+
read_latency_p50_ms: ["READ P50", (value) => `${value} ms`],
|
|
6065
|
+
read_latency_p99_ms: ["READ P99", (value) => `${value} ms`],
|
|
6066
|
+
write_latency_p50_ms: ["WRITE P50", (value) => `${value} ms`],
|
|
6067
|
+
write_latency_p99_ms: ["WRITE P99", (value) => `${value} ms`]
|
|
6064
6068
|
};
|
|
6065
6069
|
async function volumeMetricsCommand(deps, name, options = {}) {
|
|
6066
6070
|
const metrics = await deps.api.getVolumeNameMetrics(
|
|
@@ -7951,7 +7955,7 @@ var COMMAND_HELP = {
|
|
|
7951
7955
|
},
|
|
7952
7956
|
"tonbo volume metrics": {
|
|
7953
7957
|
about: [
|
|
7954
|
-
"Prints the Volume's metrics, one row per UTC hour or day: the bytes and requests its Machine read, wrote and trimmed, as the Volume served them, and what its files held at the step's last sample, compressed. The I/O updates about every 30 seconds while the Volume is attached; the current step is marked `so far`.",
|
|
7958
|
+
"Prints the Volume's metrics, one row per UTC hour or day: the bytes and requests its Machine read, wrote and trimmed, as the Volume served them, how long the Volume took to answer its reads and writes (median and 99th percentile, from a request's arrival to its reply), and what its files held at the step's last sample, compressed. The I/O updates about every 30 seconds while the Volume is attached; the current step is marked `so far`.",
|
|
7955
7959
|
"Give `--window` (24h hourly; 7d, 30d or 90d daily, 7d also hourly with `--granularity hour`), or `--from` and `--to` with `--granularity` (at most 8 days hourly, 92 days daily). `--series` prints only the series it names. It carries no money: `tonbo usage show` says what the Volume cost."
|
|
7956
7960
|
],
|
|
7957
7961
|
examples: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonbo/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.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": {
|