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) GinHandler ¶
func (m *Metrics) GinHandler() gin.HandlerFunc
GinHandler returns a Gin handler for Prometheus metrics endpoint
func (*Metrics) IncXDSMessageCount ¶
IncXDSMessageCount increases counter per XDS messageType
func (*Metrics) IncXDSSnapshotCreateCount ¶
IncXDSSnapshotCreateCount increases number of snapshots taken
func (*Metrics) RegisterWithPrometheus ¶
func (m *Metrics) RegisterWithPrometheus()
RegisterWithPrometheus registers control plane operational metrics
func (*Metrics) SetEntityCount ¶
SetEntityCount sets number of listeners we know
Click to show internal directories.
Click to hide internal directories.