- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReportOwnedResourceCounts (0.19 sec)
-
operator/pkg/metrics/resource_counts.go
func RemoveResource(name string, gk schema.GroupKind) { rc.mu.Lock() defer rc.mu.Unlock() delete(rc.resources[gk], name) } // ReportOwnedResourceCounts reports the owned resource count // metric by Group and Kind. func ReportOwnedResourceCounts() { rc.mu.Lock() defer rc.mu.Unlock() for gk, r := range rc.resources { OwnedResourceTotal. With(ResourceKindLabel.Value(util.GKString(gk))).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 20 18:48:20 UTC 2020 - 1.9K bytes - Viewed (0) -
operator/pkg/helmreconciler/reconciler.go
}() } wg.Wait() metrics.ReportOwnedResourceCounts() out := &v1alpha1.InstallStatus{ Status: overallStatus(componentStatus), ComponentStatus: componentStatus, } return out } // Delete resources associated with the custom resource instance func (h *HelmReconciler) Delete() error { defer func() { metrics.ReportOwnedResourceCounts() h.reportPrunedObjectKind() }()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 22 08:32:23 UTC 2024 - 22K bytes - Viewed (0)