Documentation ¶
Index ¶
Constants ¶
View Source
const ( KUBEWATCH_UNREACHABLE_CLIENT_COUNT = "Kubewatch_unreachable_client_count" KUBEWATCH_UNREACHABLE_CLIENT_COUNT_API = "Kubewatch_unreachable_client_count_API" )
metrics name constants
View Source
const ( CLUSTER_NAME = "clusterName" CLUSTER_ID = "clusterId" HOST = "host" PATH = "path" )
metrics labels constants
Variables ¶
View Source
var UnreachableCluster = promauto.NewCounterVec( prometheus.CounterOpts{ Name: KUBEWATCH_UNREACHABLE_CLIENT_COUNT, Help: "How many HTTP requests processed, partitioned by status code, method and HTTP path.", }, []string{CLUSTER_NAME, CLUSTER_ID})
Functions ¶
func IncUnUnreachableCluster ¶
func IncUnUnreachableCluster(clusterName, clusterId string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.