Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncCounterRequestErr ¶
IncCounterRequestErr increments the counter of request error.
func IncRequestCounter ¶
func IncRequestCounter(component, path string)
IncRequestCounter increments the QPS counter for the given method and path.
func NewMetricHandler ¶
func RecordResponseTime ¶
RecordResponseTime 记录响应时间
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.