Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitCommandsDurationSecondsCount = prometheus.NewCounterVec(prometheus.CounterOpts{ Help: "Total number of commands executed by git.", Name: "git_commands_duration_seconds_count", }, []string{"command"}) GitCommandsDurationSecondsSum = prometheus.NewCounterVec(prometheus.CounterOpts{ Help: "Total duration it took for git to execute commands.", Name: "git_commands_duration_seconds_sum", }, []string{"command"}) )
View Source
var ( RunTaskSuccess = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Help: "Status of the last run of a task. 1 indicates success. 0 indicates failure.", Name: "run_task_success", }, []string{"task"}, ) RunFinish = prometheus.NewGauge(prometheus.GaugeOpts{ Help: "Last unix time when the run finished.", Name: "run_finish_time_seconds", }) RunStart = prometheus.NewGauge(prometheus.GaugeOpts{ Help: "Last unix time when the run started.", Name: "run_start_time_seconds", }) )
Functions ¶
func InstrumentHttpClient ¶
func Register ¶
func Register(reg prometheus.Registerer)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.