Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConsulFailure returns counter for consul_errors_total metric ConsulFailure = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "consul_errors_total", Help: "Number of Consul errors for HTTP request.", }, []string{"operation", "consul_address"}, ) // ConsulSuccess returns counter for consul_successes_total metric ConsulSuccess = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "consul_successes_total", Help: "Number of Consul success for HTTP request.", }, []string{"operation", "consul_address"}, ) )
View Source
var ( // PodFailure returns counter for pod_errors_total metric PodFailure = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "pod_errors_total", Help: "Number of failure operation on PODs", }, []string{"operation"}, ) // PodSuccess returns counter for pod_successes_total metric PodSuccess = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "pod_successes_total", Help: "Number of succeed operation on PODs", }, []string{"operation"}, ) // FuncDuration returns summary for controller_function_duration_seconds metric FuncDuration = prometheus.NewSummaryVec( prometheus.SummaryOpts{ Name: "controller_function_duration_seconds", Help: "The runtime of an function.", Objectives: map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001}, }, []string{"function"}, ) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.