Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsServer ¶ added in v1.5.3
func NewMetricsServer ¶
func NewMetricsServer(port int) *MetricsServer
NewMetricsServer returns a new prometheus server which collects api server metrics
func (*MetricsServer) IncRedisRequest ¶ added in v1.5.3
func (m *MetricsServer) IncRedisRequest(failed bool)
Click to show internal directories.
Click to hide internal directories.