Documentation ¶
Index ¶
- Constants
- type Collector
- func (c *Collector) Collect(ch chan<- prometheus.Metric)
- func (c *Collector) Describe(ch chan<- *prometheus.Desc)
- func (c *Collector) RecordError(name, correlationID, operationType, category, requestObject, error string)
- func (c *Collector) RecordLatency(operationType string, inProgressTime time.Duration)
- func (c *Collector) RecordOperationInProgressNearTimeout(operationType, operationName string)
Constants ¶
View Source
const ( Namespace = "compass" Subsystem = "operations_controller" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector() *Collector
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
func (*Collector) RecordError ¶
func (*Collector) RecordLatency ¶
func (*Collector) RecordOperationInProgressNearTimeout ¶
Click to show internal directories.
Click to hide internal directories.