Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(InitMetrics)
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { MetricRequests metric.Int64Counter MetricSeconds metric.Float64Histogram Meter metric.Meter AppInfo *bootstrap.AppInfo }
func NewMetrics ¶
func (*Metrics) IncrementLabelOrderCount ¶
IncrementLabelOrderCount increments the order count metric with a label.
func (*Metrics) IncrementOrderCount ¶
IncrementOrderCount increments the order count metric.
Click to show internal directories.
Click to hide internal directories.