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
}
a reflection of an object in the processor (e.g. event source, 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 MetricPusher ¶
type MetricPusher struct {
// contains filtered or unexported fields
}
func NewMetricPusher ¶
func NewMetricPusher(parentLogger nuclio.Logger, eventSourceProvider eventSourceProvider, configuration *viper.Viper) (*MetricPusher, error)
func (*MetricPusher) Start ¶
func (mp *MetricPusher) Start() error
Click to show internal directories.
Click to hide internal directories.