Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "bdjuno_actions_total_count", Help: "Total number of actions executed.", }, []string{"path", "http_status_code"})
ActionCounter represents the Telemetry counter used to track the total number of actions executed
View Source
var ActionErrorCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "bdjuno_actions_error_count", Help: "Total number of errors emitted.", }, []string{"path", "http_status_code"}, )
ActionErrorCounter represents the Telemetry counter used to track the number of action's errors emitted
View Source
var ActionResponseTime = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "bdjuno_action_response_time", Help: "Time it has taken to execute an action", Buckets: []float64{0.5, 1, 2, 3, 4, 5}, }, []string{"path"})
ActionResponseTime represents the Telemetry counter used to classify each executed action by response time
Functions ¶
func ErrorCounter ¶
func ErrorCounter(path string)
func ReponseTimeBuckets ¶
func SuccessCounter ¶
func SuccessCounter(path string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.