Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggregateConcurrent ¶ added in v1.6.3
AggregateConcurrent aggregates the value of a specific statistic that is being collected concurrently.
func PrintCount ¶ added in v1.5.3
func PrintCount(key Type)
PrintCount prints the count of a specific statistic.
Types ¶
type Type ¶ added in v1.6.1
type Type string
Type represents differnet statistics that are being collected.
const ( // Total represents the total duration of a specific operation. Total Type = "Total" // System represents the duration it takes to list all aad-pod-identity CRDs. System Type = "System" // CacheSync represents the duration it takes to sync CRD client's cache. CacheSync Type = "CacheSync" // CurrentState represents the duration it takes to generate a list of desired AzureAssignedIdentities. CurrentState Type = "Gather current state" // PodList represents the duration it takes to list pods. PodList Type = "Pod listing" // AzureIdentityBindingList represents the duration it takes to list AzureIdentityBindings. AzureIdentityBindingList Type = "AzureIdentityBinding listing" // AzureIdentityList represents the duration it takes to list AzureIdentities. AzureIdentityList Type = "AzureIdentity listing" // AzurePodIdentityExceptionList represents the duration it takes to list AzurePodIdentityExceptions. AzurePodIdentityExceptionList Type = "AzurePodIdentityException listing" // AzureAssignedIdentityList represents the duration it takes to list AzureAssignedIdentities. AzureAssignedIdentityList Type = "AzureAssignedIdentity listing" // CloudGet represents the duration it takes to complete a GET request to ARM in a given sync cycle. CloudGet Type = "Cloud provider GET" // CloudPatch represents the duration it takes to complete a PATCH request to ARM in a given sync cycle. CloudPatch Type = "Cloud provider PATCH" // TotalPatchCalls represents the number of PATCH requests to ARM in a given sync cycle. TotalPatchCalls Type = "Number of cloud provider PATCH" // TotalGetCalls represents the number of GET requests to ARM in a given sync cycle. TotalGetCalls Type = "Number of cloud provider GET" // TotalAzureAssignedIdentitiesCreated represents the number of AzureAssignedIdentities created in a given sync cycle. TotalAzureAssignedIdentitiesCreated Type = "Number of AzureAssignedIdentities created in this sync cycle" // TotalAzureAssignedIdentitiesUpdated represents the number of AzureAssignedIdentities updated in a given sync cycle. TotalAzureAssignedIdentitiesUpdated Type = "Number of AzureAssignedIdentities updated in this sync cycle" // TotalAzureAssignedIdentitiesDeleted represents the number of AzureAssignedIdentities deleted in a given sync cycle. TotalAzureAssignedIdentitiesDeleted Type = "Number of AzureAssignedIdentities deleted in this sync cycle" // FindAzureAssignedIdentitiesToDelete represents the duration it takes to generate a list of AzureAssignedIdentities to be deleted. FindAzureAssignedIdentitiesToDelete Type = "Find AzureAssignedIdentities to delete" // FindAzureAssignedIdentitiesToCreate represents the duration it takes to generate a list of AzureAssignedIdentities to be created. FindAzureAssignedIdentitiesToCreate Type = "Find AzureAssignedIdentities to create" // DeleteAzureAssignedIdentity represents the duration it takes to delete an AzureAssignedIdentity. DeleteAzureAssignedIdentity Type = "AzureAssignedIdentity deletion" // CreateAzureAssignedIdentiy represents the duration it takes to create an AzureAssignedIdentity. CreateAzureAssignedIdentiy Type = "AzureAssignedIdentity creation" // UpdateAzureAssignedIdentity represents the duration it takes to update an AzureAssignedIdentity. UpdateAzureAssignedIdentity Type = "AzureAssignedIdentity update" // TotalAzureAssignedIdentitiesCreateOrUpdate represents the duration it takes to create or update a given list of AzureAssignedIdentities. TotalAzureAssignedIdentitiesCreateOrUpdate Type = "Total time to assign or update AzureAssignedIdentities" )
Click to show internal directories.
Click to hide internal directories.