Versions in this module Expand all Collapse all v1 v1.7.6 Mar 12, 2021 Changes in this version + const AdalTokenFromMSIOperationName + const AdalTokenFromMSIWithUserAssignedIDOperationName + const AdalTokenOperationName + const AssignedIdentityAdditionOperationName + const AssignedIdentityDeletionOperationName + const AssignedIdentityUpdateOperationName + const GetPodListOperationName + const GetSecretOperationName + const GetVMOperationName + const GetVmssOperationName + const UpdateAzureAssignedIdentityStatusOperationName + const UpdateVMOperationName + const UpdateVMSSOperationName + var AssignedIdentityAdditionCountM = stats.Int64(assignedIdentityAdditionCountName, ...) + var AssignedIdentityAdditionDurationM = stats.Float64(assignedIdentityAdditionDurationName, ...) + var AssignedIdentityDeletionCountM = stats.Int64(assignedIdentityDeletionCountName, ...) + var AssignedIdentityDeletionDurationM = stats.Float64(assignedIdentityDeletionDurationName, ...) + var AssignedIdentityUpdateCountM = stats.Int64(assignedIdentityUpdateCountName, ...) + var AssignedIdentityUpdateDurationM = stats.Float64(assignedIdentityUpdateDurationName, ...) + var CloudProviderOperationsDurationM = stats.Float64(cloudProviderOperationsDurationName, ...) + var CloudProviderOperationsErrorsCountM = stats.Int64(cloudProviderOperationsErrorsCountName, ...) + var ImdsOperationsDurationM = stats.Float64(imdsOperationsDurationName, "Duration in seconds of imds token operations", ...) + var ImdsOperationsErrorsCountM = stats.Int64(imdsOperationsErrorsCountName, ...) + var KubernetesAPIOperationsErrorsCountM = stats.Int64(kubernetesAPIOperationsErrorsCountName, ...) + var MICCycleCountM = stats.Int64(micCycleCountName, "Total number of cycles executed in mic", ...) + var MICCycleDurationM = stats.Float64(micCycleDurationName, "Duration in seconds for single mic sync cycle", ...) + var MICNewLeaderElectionCountM = stats.Int64(micNewLeaderElectionCountName, "Total number of new leader election in mic", ...) + var NMIOperationsDurationM = stats.Float64(nmiOperationsDurationName, "Duration in seconds for nmi operations", ...) + func RegisterAndExport(port string) error + func SinceInSeconds(start time.Time) float64 + type Reporter struct + func NewReporter() (*Reporter, error) + func (r *Reporter) Report(ms ...stats.Measurement) + func (r *Reporter) ReportCloudProviderOperationDuration(operation string, duration time.Duration) error + func (r *Reporter) ReportCloudProviderOperationError(operation string) error + func (r *Reporter) ReportIMDSOperationDuration(operation string, duration time.Duration) error + func (r *Reporter) ReportIMDSOperationError(operation string) error + func (r *Reporter) ReportKubernetesAPIOperationError(operation string) error + func (r *Reporter) ReportOperation(operationType string, measurement stats.Measurement) error + func (r *Reporter) ReportOperationAndStatus(operationType, statusCode, namespace, resource string, ms ...stats.Measurement) error