metric

package
v0.0.0-...-bf90f01 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProvisionedTenantsCounter = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: provisionedTenantsTotalName,
		Help: "Total number of the provisioned tenants",
	}, []string{"successful"})
	DeletedTenantsCounter = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: deletedTenantsTotalName,
		Help: "Total number of the removed tenants",
	}, []string{"successful"})
	CleanedTenantsCounter = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: cleanedTenantsTotalName,
		Help: "Total number of cleaned tenants",
	}, []string{"successful", "nsBaseName"})
	UpdatedTenantsCounter = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: updatedTenantsTotalName,
		Help: "Total number of updated tenants",
	}, []string{"successful", "nsBaseName"})
)

Functions

func RecordCleanedTenant

func RecordCleanedTenant(successful bool, nsBaseName string)

func RecordDeletedTenant

func RecordDeletedTenant(successful bool)

func RecordProvisionedTenant

func RecordProvisionedTenant(successful bool)

func RecordUpdatedTenant

func RecordUpdatedTenant(successful bool, nsBaseName string)

func RegisterMetrics

func RegisterMetrics()

Types

This section is empty.

Jump to

Keyboard shortcuts

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