Versions in this module Expand all Collapse all v1 v1.0.0 Feb 20, 2018 Changes in this version + type FailuresCollector struct + func NewFailuresCollector() *FailuresCollector + func (fc *FailuresCollector) Collect(ch chan<- prometheus.Metric) + func (fc *FailuresCollector) Describe(ch chan<- *prometheus.Desc) + func (fc *FailuresCollector) RecordFailure(reason common.JobFailureReason, runnerDescription string) + type LogHook struct + func NewLogHook() LogHook + func (lh *LogHook) Collect(ch chan<- prometheus.Metric) + func (lh *LogHook) Describe(ch chan<- *prometheus.Desc) + func (lh *LogHook) Fire(entry *logrus.Entry) error + func (lh *LogHook) Levels() []logrus.Level