mc admin trace
Table of Contents
Description
The mc admin trace
command displays API operations occurring on the target MinIO deployment.
Use mc admin
on MinIO Deployments Only
MinIO does not support using mc admin
commands with other
S3-compatible services, regardless of their claimed compatibility with MinIO
deployments.
Examples
Monitor All API operations
Use mc admin trace
to monitor API operations on a MinIO deployment:
mc admin trace -a ALIAS
See Calls that Return 503 Errors
Use mc admin trace
to monitor API operations that return a service unavailable 503 error:
mc admin trace -v --status-code 503 ALIAS
See Console Trace for a Path
Use mc admin trace
to monitor activity for a specific path:
mc admin trace --path my-bucket/my-prefix/* ALIAS
Syntax
mc admin trace
has the following syntax:
mc admin trace [FLAGS] TARGET
mc admin trace
supports the following argument:
- TARGET
Specify the
alias
of a configured MinIO deployment for which to monitor API operations.
- --all, a
Returns all traffic on the MinIO deployment, including internode traffic between MinIO servers.
- --call
Traces only matching call types. For example, the following command only traces calls of the type
scanner
.mc admin trace --call scanner TARGET
Valid call types include:
s3
internal
storage
os
scanner
decommission
healing