Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricHits = metric.NewCounterVec(&metric.CounterVecOpts{ Namespace: _metricNamespace, Subsystem: "", Name: "hits_total", Help: "cache hits total.", Labels: []string{"name"}, }) MetricMisses = metric.NewCounterVec(&metric.CounterVecOpts{ Namespace: _metricNamespace, Subsystem: "", Name: "misses_total", Help: "cache misses total.", Labels: []string{"name"}, }) )
be used in tool/kratos-gen-bts
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.