metrics

package
v0.14.26 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountsReconciled = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "account_operator_accounts_reconciled_total",
			Help: "Total number of Account reconcile calls by type and result.",
		},
		[]string{"type", "result"},
	)
	WebhookValidations = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "account_operator_webhook_validations_total",
			Help: "Total number of Account webhook validation requests.",
		},
		[]string{"operation", "result", "account_type"},
	)
	WorkspaceReadyDuration = prometheus.NewHistogramVec(
		prometheus.HistogramOpts{
			Name:    "account_operator_workspace_ready_duration_seconds",
			Help:    "Time from Account creation to Workspace reaching Ready phase.",
			Buckets: []float64{1, 5, 10, 30, 60, 120, 300},
		},
		[]string{"type"},
	)
	WorkspaceTypeOperations = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "account_operator_workspacetype_operations_total",
			Help: "Total number of WorkspaceType create or update operations performed for organizations.",
		},
		[]string{"operation", "wst_kind"},
	)
	OrgProvisioningDuration = prometheus.NewHistogramVec(
		prometheus.HistogramOpts{
			Name:    "account_operator_org_provisioning_duration_seconds",
			Help:    "Time from organization Account creation to its AccountInfo being written.",
			Buckets: []float64{1, 5, 10, 30, 60, 120, 300},
		},
		[]string{},
	)
)

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