Documentation ¶
Index ¶
- Constants
- func BuildCountInc(buildStrategy string, namespace string, build string)
- func BuildRunCompletionObserve(buildStrategy string, namespace string, build string, buildRun string, ...)
- func BuildRunCountInc(buildStrategy string, namespace string, build string, buildRun string)
- func BuildRunEstablishObserve(buildStrategy string, namespace string, build string, buildRun string, ...)
- func BuildRunRampUpDurationObserve(buildStrategy string, namespace string, build string, buildRun string, ...)
- func ExtraHandlers() map[string]http.HandlerFunc
- func InitPrometheus(config *config.Config)
- func TaskRunPodRampUpDurationObserve(buildStrategy string, namespace string, build string, buildRun string, ...)
- func TaskRunRampUpDurationObserve(buildStrategy string, namespace string, build string, buildRun string, ...)
Constants ¶
View Source
const ( BuildStrategyLabel string = "buildstrategy" NamespaceLabel string = "namespace" BuildLabel string = "build" BuildRunLabel string = "buildrun" )
Labels used in Prometheus metrics
Variables ¶
This section is empty.
Functions ¶
func BuildCountInc ¶
BuildCountInc increases a number of the existing build total count
func BuildRunCompletionObserve ¶
func BuildRunCompletionObserve(buildStrategy string, namespace string, build string, buildRun string, duration time.Duration)
BuildRunCompletionObserve sets the build run completion time
func BuildRunCountInc ¶
BuildRunCountInc increases a number of the existing build run total count
func BuildRunEstablishObserve ¶
func BuildRunEstablishObserve(buildStrategy string, namespace string, build string, buildRun string, duration time.Duration)
BuildRunEstablishObserve sets the build run establish time
func BuildRunRampUpDurationObserve ¶
func BuildRunRampUpDurationObserve(buildStrategy string, namespace string, build string, buildRun string, duration time.Duration)
BuildRunRampUpDurationObserve processes the observation of a new buildrun ramp-up duration
func ExtraHandlers ¶ added in v0.4.0
func ExtraHandlers() map[string]http.HandlerFunc
ExtraHandlers returns a mapping of paths and their respective additional HTTP handlers to be configured at the metrics listener
func InitPrometheus ¶
InitPrometheus initializes the prometheus stuff
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.