Documentation ¶
Index ¶
- Variables
- func RegisterCompletedRelease(startTime, completionTime *metav1.Time, ...)
- func RegisterCompletedReleasePostActionsExecuted(startTime, completionTime *metav1.Time, reason string)
- func RegisterCompletedReleaseProcessing(startTime, completionTime *metav1.Time, reason, target string)
- func RegisterNewRelease()
- func RegisterNewReleasePostActionsExecution()
- func RegisterNewReleaseProcessing(startTime, processingStartTime *metav1.Time, reason, target string)
- func RegisterValidatedRelease(startTime, validationTime *metav1.Time, reason, target string)
Constants ¶
This section is empty.
Variables ¶
var ( ReleaseConcurrentTotal = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "release_concurrent_total", Help: "Total number of concurrent release attempts", }, []string{}, ) ReleaseConcurrentPostActionsExecutionsTotal = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "release_concurrent_post_actions_executions_total", Help: "Total number of concurrent release post actions executions attempts", }, []string{}, ) ReleaseConcurrentProcessingsTotal = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "release_concurrent_processings_total", Help: "Total number of concurrent release processing attempts", }, []string{}, ) ReleasePreProcessingDurationSeconds = prometheus.NewHistogramVec( releasePreProcessingDurationSecondsOpts, releasePreProcessingDurationSecondsLabels, ) ReleaseValidationDurationSeconds = prometheus.NewHistogramVec( releaseValidationDurationSecondsOpts, releaseValidationDurationSecondsLabels, ) ReleaseDurationSeconds = prometheus.NewHistogramVec( releaseDurationSecondsOpts, releaseDurationSecondsLabels, ) ReleasePostActionsExecutionDurationSeconds = prometheus.NewHistogramVec( releasePostActionsExecutionDurationSecondsOpts, releasePostActionsExecutionDurationSecondsLabels, ) ReleaseProcessingDurationSeconds = prometheus.NewHistogramVec( releaseProcessingDurationSecondsOpts, releaseProcessingDurationSecondsLabels, ) ReleaseTotal = prometheus.NewCounterVec( releaseTotalOpts, releaseTotalLabels, ) )
Functions ¶
func RegisterCompletedRelease ¶
func RegisterCompletedRelease(startTime, completionTime *metav1.Time, postActionsReason, processingReason, releaseReason, target, validationReason string)
RegisterCompletedRelease registers a Release as complete, decreasing the number of concurrent releases, adding a new observation for the Release duration and increasing the total number of releases. If either the startTime or the completionTime parameters are nil, no action will be taken.
func RegisterCompletedReleasePostActionsExecuted ¶
func RegisterCompletedReleasePostActionsExecuted(startTime, completionTime *metav1.Time, reason string)
RegisterCompletedReleasePostActionsExecuted registers a Release post-actions execution as complete, adding a new observation for the Release post-actions execution duration and decreasing the number of concurrent executions. If either the startTime or the completionTime parameters are nil, no action will be taken.
func RegisterCompletedReleaseProcessing ¶
func RegisterCompletedReleaseProcessing(startTime, completionTime *metav1.Time, reason, target string)
RegisterCompletedReleaseProcessing registers a Release processing as complete, adding a new observation for the Release processing duration and decreasing the number of concurrent processings. If either the startTime or the completionTime parameters are nil, no action will be taken.
func RegisterNewRelease ¶
func RegisterNewRelease()
RegisterNewRelease register a new Release, increasing the number of concurrent releases.
func RegisterNewReleasePostActionsExecution ¶
func RegisterNewReleasePostActionsExecution()
RegisterNewReleasePostActionsExecution register a new Release post-actions execution, increasing the number of concurrent executions.
func RegisterNewReleaseProcessing ¶
func RegisterNewReleaseProcessing(startTime, processingStartTime *metav1.Time, reason, target string)
RegisterNewReleaseProcessing registers a new Release processing, adding a new observation for the Release start processing duration and increasing the number of concurrent processings. If either the startTime or the processingStartTime are nil, no action will be taken.
func RegisterValidatedRelease ¶
RegisterValidatedRelease registers a Release as validated, adding a new observation for the Release validated seconds. If either the startTime or the validationTime are nil, no action will be taken.
Types ¶
This section is empty.