Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gatherer ¶
type Gatherer interface {
Gather() error
}
Gatherer is a reflection of an object in the processor (e.g. trigger, runtime, worker) that holds prometheus metrics. when Gather() is called, the resource is queried for its primitive statistics. this way we decouple prometheus metrics from the fast path
type TriggerGatherer ¶
type TriggerGatherer struct {
// contains filtered or unexported fields
}
func NewTriggerGatherer ¶
func NewTriggerGatherer(instanceName string, trigger trigger.Trigger, logger logger.Logger, metricRegistry *prometheus.Registry) (*TriggerGatherer, error)
func (*TriggerGatherer) Gather ¶
func (tg *TriggerGatherer) Gather() error
type WorkerGatherer ¶
type WorkerGatherer struct {
// contains filtered or unexported fields
}
func NewWorkerGatherer ¶
func (*WorkerGatherer) Gather ¶
func (wg *WorkerGatherer) Gather() error
Click to show internal directories.
Click to hide internal directories.