func Register(params Params)
Collector implements prometheus.Collector interface
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector(log logr.Logger, experimentStore core.ExperimentStore, scheduleStore core.ScheduleStore, workflowStore core.WorkflowStore) *Collector
NewCollector initializes metrics and collector
func (collector *Collector) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface.
func (collector *Collector) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface.
type Params struct { fx.In Log logr.Logger Registry *prometheus.Registry ExperimentStore core.ExperimentStore ScheduleStore core.ScheduleStore WorkflowStore core.WorkflowStore }