Aditya Manthramurthy
d4b7b00d73
Bump up minio/pkg to v3 ( #4940 )
2024-05-23 00:59:47 -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
Aditya Manthramurthy
e2056fb057
Update to minio/pkg v2 ( #4674 )
2023-09-02 14:28:03 -07:00
dorman
176072dee4
trace: Add input and output filters options ( #4353 )
2022-12-24 07:21:38 -08:00
Harshavardhana
cf7e0ae050
generalize input for ctx.Command.Name ( #4338 )
2022-11-01 08:04:26 -07:00
Anis Elleuch
f85086b153
Use a pager for help output ( #4245 )
2022-09-28 11:28:02 -07:00
Anis Elleuch
145da32419
Add --request-header to trace cmd to filter http requests ( #4238 )
...
e.g:
`mc admin trace --request-header "User-Agent: *hadoop*" <alias>`
to print all S3 requests sent by Hadoop
`mc admin trace --request-header "!X-Minio-Source*" <alias>`
to avoid printing S3 requests related to replication
2022-09-12 10:12:06 -07:00
Harshavardhana
41e6cc5626
fix: use DurationFlag to response-threshold ( #4227 )
...
Also add missing flags from 'mc admin scanner trace'
2022-08-30 08:15:54 -07:00
Klaus Post
48e9183957
Move mc admin top scanner -> mc admin scanner info ( #4151 )
...
Also, add `mc admin scanner trace` which gives a simplified trace
with only relevant options.
2022-07-15 02:20:55 -07:00