Versions in this module Expand all Collapse all v1 v1.23.3 Nov 8, 2024 Changes in this version + var CRDeletionTotal = monitoring.NewSum("cr_deletion_total", "Number of IstioOperator CR deleted") + var CRFetchErrorReasonLabel = monitoring.CreateLabel("reason") + var CRMergeFailureTotal = monitoring.NewSum("cr_merge_failure_total", "Number of IstioOperator CR merge failures") + var CRValidationErrorTotal = monitoring.NewSum("cr_validation_error_total", "Number of IstioOperator CR validation failures") + var CacheFlushTotal = monitoring.NewSum("cache_flush_total", "number of times operator cache was flushed") + var ComponentNameLabel = monitoring.CreateLabel("component") + var GetCRErrorTotal = monitoring.NewSum("get_cr_error_total", "Number of times fetching CR from apiserver failed") + var LegacyPathTranslationTotal = monitoring.NewSum("legacy_path_translation_total", ...) + var ManifestPatchErrorTotal = monitoring.NewSum("manifest_patch_error_total", "Number of times K8S patch overlays failed") + var ManifestRenderErrorTotal = monitoring.NewSum("manifest_render_error_total", ...) + var MergeErrorLabel = monitoring.CreateLabel("error_type") + var OperatorVersionLabel = monitoring.CreateLabel("version") + var OwnedResourceTotal = monitoring.NewGauge("owned_resource_total", "Number of resources currently owned by the operator") + var ReconcileRequestReasonLabel = monitoring.CreateLabel("reason") + var ReconcileRequestTotal = monitoring.NewSum("reconcile_request_total", "Number of times requesting Reconcile") + var RenderErrorLabel = monitoring.CreateLabel("render_error") + var RenderManifestTotal = monitoring.NewSum("render_manifest_total", "Number of component manifests rendered") + var ResourceCreationTotal = monitoring.NewSum("resource_creation_total", "Number of resources created by the operator") + var ResourceDeletionTotal = monitoring.NewSum("resource_deletion_total", "Number of resources deleted by the operator") + var ResourceKindLabel = monitoring.CreateLabel("kind") + var ResourcePruneTotal = monitoring.NewSum("resource_prune_total", "Number of resources pruned by the operator") + var ResourceUpdateTotal = monitoring.NewSum("resource_update_total", "Number of resources updated by the operator") + var Version = monitoring.NewGauge("version", "Version of operator binary") + func AddResource(name string, gk schema.GroupKind) + func CountCRFetchFail(reason metav1.StatusReason) + func CountCRMergeFail(reason MergeErrorType) + func CountManifestRender(name name.ComponentName) + func CountManifestRenderError(cn name.ComponentName, reason RenderErrorType) + func IncrementReconcileRequest(reason string) + func RemoveResource(name string, gk schema.GroupKind) + func ReportOwnedResourceCounts() + type MergeErrorType string + const CannotFetchProfileError + const IOPFormatError + const InternalYAMLParseError + const OverlayError + const TranslateValuesError + type RenderErrorType string + const HelmChartRenderError + const HelmTranslateIOPToValuesError + const K8SManifestPatchError + const K8SSettingsOverlayError + const RenderNotStartedError