Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OSBMetricsCollector ¶
type OSBMetricsCollector struct {
Actions *prom.CounterVec
}
OSBMetricsCollector - action counter
func New ¶
func New() *OSBMetricsCollector
New - constructs a metrics collector with an action counter
func (*OSBMetricsCollector) Collect ¶
func (c *OSBMetricsCollector) Collect(ch chan<- prom.Metric)
Collect returns the current state of all metrics of the collector.
func (*OSBMetricsCollector) Describe ¶
func (c *OSBMetricsCollector) Describe(ch chan<- *prom.Desc)
Describe returns all descriptions of the collector.
Click to show internal directories.
Click to hide internal directories.