Sveinn
87d6cd2d4f
Validation optimization - reduce HEAD calls during cp and mv operations ( #4710 )
2023-10-12 11:30:11 -07:00
Klaus Post
0793ce767b
Add --stats to traces ( #4669 )
...
Allows collecting live stats of all traced subsystems.
Examples:
```
λ mc admin trace --stats play
+----------------------------+-------------+------+-----------+--------+---------+---------+
| Call | Count | RPM | Avg Time | Errors | RX Avg | TX Avg |
| s3.GetObject | 247 (63.3%) | 82.5 | 2.391ms | 0 | 133 B | 179 KiB |
| s3.HeadBucket | 102 (26.2%) | 34.1 | 1.114ms | 0 | 147 B | 0 B |
| s3.GetBucketLocation | 18 (4.6%) | 6.0 | 1.942ms | 0 | 147 B | 149 B |
| s3.PutBucket | 6 (1.5%) | 2.0 | 4.146ms | 0 | 151 B | 0 B |
| s3.ListObjectsV1 | 4 (1.0%) | 1.3 | 4.276ms | 0 | 124 B | 577 B |
| s3.ListBuckets | 3 (0.8%) | 1.0 | 15.312ms | 0 | 135 B | 82 KiB |
| s3.PutObject | 3 (0.8%) | 1.0 | 4.304ms | 0 | 14 KiB | 0 B |
| s3.DeleteObject | 2 (0.5%) | 0.7 | 407µs | 0 | 88 B | 0 B |
| s3.HeadObject | 2 (0.5%) | 0.7 | 1.36ms | 0 | 108 B | 0 B |
| s3.CompleteMultipartUpload | 1 (0.3%) | 0.3 | 7.943ms | 0 | 301 B | 449 B |
| s3.NewMultipartUpload | 1 (0.3%) | 0.3 | 4.895ms | 0 | 160 B | 383 B |
| s3.PutObjectPart | 1 (0.3%) | 0.3 | 103.782ms | 0 | 8.8 MiB | 0 B |
+----------------------------+-------------+------+-----------+--------+---------+---------+
λ mc admin trace --stats -call=storage play
+------------------------------+---------------+----------+----------+--------+--------+--------+
| Call | Count | RPM | Avg Time | Errors | RX Avg | TX Avg |
| storage.ReadXL | 70780 (33.3%) | 174700.3 | 43µs | 200 | - | - |
| storage.RenameData | 70633 (33.2%) | 174337.5 | 1.165ms | 0 | - | - |
| storage.DiskInfo | 70540 (33.1%) | 174107.9 | 1µs | 0 | - | - |
| storage.ReadVersion | 280 (0.1%) | 691.1 | 70µs | 0 | - | - |
| storage.StatVol | 236 (0.1%) | 582.5 | 13µs | 0 | - | - |
| storage.DeleteAbandonedParts | 140 (0.1%) | 345.6 | 149µs | 0 | - | - |
| storage.CreateFile | 88 (0.0%) | 217.2 | 4.169ms | 0 | - | - |
| storage.ListVols | 88 (0.0%) | 217.2 | 426µs | 0 | - | - |
| storage.ReadFileStream | 18 (0.0%) | 44.4 | 28µs | 0 | - | - |
| storage.VerifyFile | 16 (0.0%) | 39.5 | 2.166ms | 0 | - | - |
+------------------------------+---------------+----------+----------+--------+--------+--------+
```
2023-10-10 10:12:06 -07:00
Shireesh Anjal
eca8310ac8
Add support for resource metrics ( #4689 )
2023-10-03 23:52:56 -07:00
Anis Eleuch
4be483de6d
scanner: Limit the active disks if no enough term space ( #4705 )
...
If the terminal height is not enough to show the number of active disks,
which is likely the case in a large deployment, print only a few entries
until the number of lines reaches the terminal height.
2023-10-03 08:31:31 -07:00
Anis Eleuch
67fa4aa7a3
Fix mirror stats with --quiet flag ( #4703 )
2023-10-02 08:03:54 -06:00
Harshavardhana
d8ace59107
add 'mc admin trace' filtering based on request queries ( #4704 )
2023-10-02 00:40:19 -07:00
Armin Weißer
d47a2ba53a
Add min, max and total request time to top api command ( #4702 )
...
Add min and max request time to top api command
2023-09-29 09:41:22 -07:00
Anis Eleuch
1a65176cee
perf net: Do not show Err: tag if there is no error ( #4700 )
2023-09-28 15:59:55 -07:00
Harshavardhana
103272612a
change 6->3 decimal resolution, to conserve terminal realestate
2023-09-28 10:48:30 -07:00
Armin Weißer
c3c899c365
Add ART and ATP to 'support top api' command ( #4699 )
...
Average Request Time (ART) = Total Duration / Calls
Average Throughput (ATP) = (RX+TX) / Total Duration
2023-09-28 08:33:49 -07:00
Taran Pelkey
618512cc92
broaden reach of --no-color flag ( #4697 )
2023-09-25 23:10:43 -07:00
Klaus Post
21ee2bd432
Show heal checks performed on missing ( #4692 )
...
Add stats for objects missing on current disk, but healed.
Visualizes stats for https://github.com/minio/minio/pull/18076
2023-09-25 10:32:06 -07:00
Anis Eleuch
38b8665e9e
perf net: Show the error with the bandwidth results ( #4688 )
...
An error in the result does not mean that the whole perf net test
failed, we can still show some results, with an error as well, to be
less confusing to the user.
2023-09-20 08:22:31 -07:00
Harshavardhana
79df949087
add exclude-storageclass flag for mirror ( #4684 )
...
this option exists to skip tiered objects such as
- "GLACIER"
- "DEEP_ARCHIVE"
users can use this option when migrating awss3 -> minio
```
mc mirror --exclude-storageclass GLACIER \
--exclude-storageclass DEEP_ARCHIVE s3/bucket minio/bucket
```
2023-09-19 22:47:55 -07:00
r-sc
f551d4b14d
Support multiple policies in 'mc admin user policy' command ( #4685 )
2023-09-19 09:27:38 -07:00
Harshavardhana
3adb6c93fd
hide all old deprecate heal options ( #4682 )
2023-09-18 23:02:58 -07:00
Harshavardhana
9dcef8825f
fix: alignment issues in help for svacct sub-commands ( #4676 )
2023-09-07 15:48:55 -07:00
Harshavardhana
e088bd45a9
fix: alignment in 'replicate status' help ( #4675 )
2023-09-07 01:01:36 -07:00
Aditya Manthramurthy
e2056fb057
Update to minio/pkg v2 ( #4674 )
2023-09-02 14:28:03 -07:00
Poorna
5a5a9973c3
Change replicate status metrics to show additional info ( #4582 )
...
in `mc replicate status` for bucket replication
and `mc admin replicate status` for site replication.
2023-08-30 01:02:26 -07:00
Harshavardhana
9da0b405db
support all scanner events to be reported for excessive versions ( #4672 )
2023-08-29 15:55:06 -07:00
Shubhendu
38d4108458
Added mc admin kms key list ALIAS command ( #4663 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-08-29 15:36:30 -07:00
Poorna
acc25b8c50
fix: bandwidth displayed in mc replicate status ( #4664 )
2023-08-18 14:57:55 -07:00
Harshavardhana
f198b23e1a
fix: batch status responsiveness ( #4661 )
2023-08-15 14:15:45 -07:00
Anis Eleuch
469f770fe6
kms-status: Show unknown for decryption when encryption fails ( #4659 )
...
mc admin kms key status shows success for decryption when encryption is
failed, though the server does not test the decryption processs when the
encryption is failed. In such cases, this commit will show decryption with a
question mark instead of OK mark
2023-08-14 13:04:49 -07:00
Anis Eleuch
9d99cfbb7e
mv: Do not error out when a bucket has an object lock config ( #4654 )
...
It appears that this code is coming from the old days when locking was
implemented before versioning; It does not make sense now to make mv
errors out when a bucket has a locking configuration.
2023-08-14 13:04:26 -07:00
Shireesh Anjal
e112429e81
fix license register error in airgap mode ( #4653 )
2023-08-10 10:12:21 -07:00
jiuker
44ca181a93
feat: support perf client to show TX from client to server ( #4645 )
2023-08-10 07:16:40 -07:00
Shubhendu
01fb7c5a96
fix: provide an option for Prometheus config for node and bucket endpoints ( #4652 )
...
Earlier the command `mc admin prometheus generate ALIAS` used to
display only the scrape configuration for cluster metrics endpoint.
This change enables optionally to display scrape configuration for
node / bucket metrics endpoints.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-08-08 10:23:59 -07:00
Harshavardhana
3cf3095253
add TTFB as part of 'mc admin trace' in pretty form ( #4648 )
2023-07-31 20:31:06 -07:00
Shireesh Anjal
6b8680a2f7
Do not allow registration of play cluster ( #4647 )
...
Since play is a public demo cluster, it should not be allowed to
register with subnet.
2023-07-25 20:51:50 -07:00
Shubhendu
1c17ff4c99
Enabled option to show node and bucket metrics ( #4632 )
...
Earlier the command `mc admin prometheus metrics ALIAS` used to
display only the cluster-level metrics. This change enables
optionally to list node/bucket-specific metrics.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-07-21 13:44:27 -07:00
Krishnan Parthasarathi
057470183f
admin-info: Include delete markers count ( #4642 )
2023-07-19 15:54:09 -07:00
Poorna
c04a480dd3
fix replicate update to check for older role ARN ( #4640 )
2023-07-19 13:11:09 -07:00
Harshavardhana
c5ea09b74d
properly report bandwidth if not configured ( #4641 )
...
report bandwidth if not configured
2023-07-19 12:42:18 -07:00
jiuker
493cd196b7
fix: remove count flag and show the byteRate for support top net ( #4639 )
2023-07-19 08:34:35 -07:00
jiuker
dd6e9c7fcd
fix: Enable byHost filtering by supplying server host list ( #4637 )
2023-07-19 00:45:16 -07:00
Harshavardhana
216aae32b9
fix: with --purge flag ignore path validation errors ( #4636 )
2023-07-18 14:05:38 -07:00
jiuker
48dd25742a
Support mc top net ( #4626 )
2023-07-18 13:11:00 -07:00
Sergey
c78ff23e77
Fixing misleading usage help for mc anonymous set-json ( #4621 )
2023-07-18 01:07:38 -07:00
Harshavardhana
1fbd97aa04
run gofumpt -extra on all source files ( #4634 )
2023-07-17 13:10:20 -07:00
Shireesh Anjal
e8f049cbb1
Ensure --airgap is available on all support commands ( #4633 )
...
- remove deprecated and unused flags from `support diag`
- add missing registration check-in
- call home status
- proxy set|show|remove
2023-07-17 09:02:50 -07:00
Poorna
09a06e2a75
Rename mc replicate diff as mc replicate backlog ( #4568 )
...
Rename `mc replicate diff` as `mc replicate backlog`
By default `mc replicate backlog` shows the most recent failures with additional
--nodes flag to filter output by node and --arn flag to filter by remote target.
This is a fast operation and provides a quick snapshot of backlog currently in failed
status.
`mc replicate backlog --full` does a full listing and reports all object versions in
pending or failed replication status.
2023-07-13 09:06:12 -07:00
Harshavardhana
355150151f
allow purge to happen on quorum lost objects ( #4629 )
2023-07-13 00:11:43 -07:00
Aditya Manthramurthy
1b992864ee
Enhance user info output with authentication info ( #4613 )
2023-07-06 22:25:51 -07:00
Poorna
a2c253c43b
admin replicate update: rename --sync flag to --mode ( #4623 )
2023-07-06 22:25:27 -07:00
jiuker
72958227ad
fix: miss count for 'mc support top drive' ( #4624 )
2023-07-06 08:46:12 -07:00
jiuker
00b68bfa16
support site perf replication ( #4608 )
2023-07-06 01:07:41 -07:00
Kaan Kabalak
c96b42c8f2
Fix issues related to 'mc admin svcacct list --json' cmd ( #4619 )
...
- Fix table header being printed when the '--json' flag is present for
the 'mc admin svcacct list' command
- Fix sentinel date being marshaled when the '--json' flag is present
for the 'mc admin svcacct list' command
2023-06-27 22:52:26 -07:00
Harshavardhana
0ed2956757
improve user messaging in 'support perf' and 'mc rm --dry-run' ( #4617 )
...
- terminal messaging for 'mc rm --dry-run' was completely
wrong, it was using `fmt.Println` which shouldn't be done.
- mc support perf - printing was using a mix of color.New()
and console.Infoln() (use one)
- mc support profile - printing was using a mix of color.New()
and console.Info() (use one)
- mc support inspect - printing was using a mix of color.New()
and consoleInfo() (use one)
2023-06-26 09:20:51 -07:00