mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
trace: Add storage & OS tracing (#11889)
This commit is contained in:
1 parent
95096e31a7
commit
d8b5adfd10
17 files changed
+358
-199
No files matched your search
+2
-2
@@ -77,8 +77,8 @@ func registerWebRouter(router *mux.Router) error {
|
||||
"bucket": bucketName,
|
||||
"object": objectName,
|
||||
})
|
||||
if globalHTTPTrace.NumSubscribers() > 0 {
|
||||
globalHTTPTrace.Publish(WebTrace(ri))
|
||||
if globalTrace.NumSubscribers() > 0 {
|
||||
globalTrace.Publish(WebTrace(ri))
|
||||
}
|
||||
ctx := newContext(ri.Request, ri.ResponseWriter, ri.Method)
|
||||
logger.AuditLog(ctx, ri.ResponseWriter, ri.Request, claims.Map())
|
||||
|
||||
Reference in new issue
Block a user