Documentation
¶
Overview ¶
Package metrics exports Gatewise service statistics to a caller-owned Prometheus registry. It never registers with global/default registries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(registry prometheus.Registerer, service *middleware.Service) error
Register adds one service to registry. Service names must be unique within that registry. The caller owns the HTTP handler and can use promhttp.HandlerFor.
Types ¶
This section is empty.