Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricsMiddleware ¶
type MetricsMiddleware interface {
Measure() kitendpoint.Middleware
}
MetricsMiddleware implements a metrics middleware over an endpoint.
func NewMetricsMiddleware ¶
func NewMetricsMiddleware(metricsClient metrics.Client) MetricsMiddleware
NewMetricsMiddleware creates a new metrics middleware pushing the metrics through the given metrics client.
Click to show internal directories.
Click to hide internal directories.