Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func (*Metrics) ListenAndServe ¶
ListenAndServe starts a goroutine with a server running on the specified port. The server will shutdown and return when the provided context is done
func (*Metrics) Registry ¶
func (m *Metrics) Registry() *prometheus.Registry
Click to show internal directories.
Click to hide internal directories.