monitor

package
v0.0.0-...-9d9a17d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Shows the total Number of CSR requests received as of now
	CSRCount = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name:        "kubernetes_csr",
			Help:        "AppViewX - Kubernetes CSR Count",
			ConstLabels: prometheus.Labels{"status": "received"},
		},
	)

	// Shows the total number of Success Certificate Response from AppViewX
	AppViewXCertificateSuccessCount = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name:        "appviewx_certificate_request",
			Help:        "AppViewX - Certificate Request Count",
			ConstLabels: prometheus.Labels{"success": "true"},
		},
	)

	//Shows the total number of Failure Certificate Response from AppViewX
	AppViewXCertificateFailureCount = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name:        "appviewx_certificate_request",
			Help:        "AppViewX - Certificate Request Count",
			ConstLabels: prometheus.Labels{"success": "false"},
		},
	)

	//Shows the total number of JWT Token Read Count from the file system
	JWTTokenReadCount = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name:        "jwt_token_read",
			Help:        "AppViewX - JWT Token Read Count",
			ConstLabels: prometheus.Labels{"status": "read"},
		},
	)

	//Shows the total number of AppViewX Login Success
	AppViewXLoginSuccessCount = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name:        "appviewx_login",
			Help:        "AppViewX - Login Count",
			ConstLabels: prometheus.Labels{"success": "true"},
		},
	)

	//Shows the total number of AppViewX Login Failure
	AppViewXLoginFailureCount = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name:        "appviewx_login",
			Help:        "AppViewX - Login Count",
			ConstLabels: prometheus.Labels{"success": "false"},
		},
	)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL