Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallStats ¶
type CallStats struct { InputBytes int `json:"inputbytes"` OutputBytes int `json:"outputbytes"` Latency time.Duration `json:"latency"` TimeToFirstByte time.Duration `json:"timetofirstbyte"` }
CallStats records request stats
type Info ¶
type Info struct { TraceType Type `json:"type"` NodeName string `json:"nodename"` FuncName string `json:"funcname"` Time time.Time `json:"time"` ReqInfo RequestInfo `json:"request"` RespInfo ResponseInfo `json:"response"` CallStats CallStats `json:"stats"` StorageStats StorageStats `json:"storageStats"` OSStats OSStats `json:"osStats"` }
Info - represents a trace record, additionally also reports errors if any while listening on trace.
type RequestInfo ¶
type RequestInfo struct { Time time.Time `json:"time"` Proto string `json:"proto"` Method string `json:"method"` Path string `json:"path,omitempty"` RawQuery string `json:"rawquery,omitempty"` Headers http.Header `json:"headers,omitempty"` Body []byte `json:"body,omitempty"` Client string `json:"client"` }
RequestInfo represents trace of http request
type ResponseInfo ¶
type ResponseInfo struct { Time time.Time `json:"time"` Headers http.Header `json:"headers,omitempty"` Body []byte `json:"body,omitempty"` StatusCode int `json:"statuscode,omitempty"` }
ResponseInfo represents trace of http request
type StorageStats ¶
StorageStats statistics on MinIO Storage layer calls
Click to show internal directories.
Click to hide internal directories.