Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { RouteCountReqs *prometheus.CounterVec InFlight prometheus.Gauge ResponseDuration *prometheus.HistogramVec RequestSize *prometheus.SummaryVec ResponseSize *prometheus.SummaryVec ApiParamsCounter *prometheus.CounterVec }
func New ¶
func New(c config.Metrics, reg prometheus.Registerer) *Metrics
Click to show internal directories.
Click to hide internal directories.