Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CallerMethodKey = attribute.Key("caller_method") // caller method CalleeMethodKey = attribute.Key("callee_method") // callee method PodIpKey = attribute.Key("pod_ip") // pod ip ServerNameKey = attribute.Key("server_name") // server name ErrorCodeKey = attribute.Key("error_code") // error code )
dims
View Source
var (
DefaultMetricMonitor = NewMetricMonitor()
)
Functions ¶
Types ¶
type HandlerWithContext ¶ added in v0.0.105
type MetricMonitor ¶
type MetricMonitor struct { TotalReqCounter syncint64.Counter FailCntCounter syncint64.Counter CostTimeHistogram syncfloat64.Histogram }
func NewMetricMonitor ¶
func NewMetricMonitor() *MetricMonitor
Click to show internal directories.
Click to hide internal directories.