Documentation ¶
Index ¶
- Constants
- Variables
- func StartHierConfigReconcile()
- func StartLoggingActivity()
- func StartObjReconcile(gvk schema.GroupVersionKind)
- func StopHierConfigReconcile()
- func StopObjReconcile(gvk schema.GroupVersionKind)
- func WriteHierConfig()
- func WriteNamespace()
- func WriteObject(gvk schema.GroupVersionKind)
Constants ¶
const ReportingInterval = 1 * time.Minute
ReportingInterval is the exporter reporting period.
Variables ¶
var KeyGroupKind, _ = tag.NewKey("GroupKind")
Create Tags. Tags are used to group and filter collected metrics later on. Create a GroupKind Tag for metrics of object reconcilers for different GroupKind.
Functions ¶
func StartHierConfigReconcile ¶
func StartHierConfigReconcile()
StartHierConfigReconcile updates stats when hierarchyConfig reconciliation starts.
func StartLoggingActivity ¶
func StartLoggingActivity()
StartLoggingActivity generates logs for performance testing.
func StartObjReconcile ¶
func StartObjReconcile(gvk schema.GroupVersionKind)
StartObjReconcile updates the stats for objects with common GK when an object reconciliation starts.
func StopHierConfigReconcile ¶
func StopHierConfigReconcile()
StopHierConfigReconcile updates stats when hierarchyConfig reconciliation finishes.
func StopObjReconcile ¶
func StopObjReconcile(gvk schema.GroupVersionKind)
StopObjReconcile updates the stats for objects with common GK when an object reconciliation finishes.
func WriteHierConfig ¶
func WriteHierConfig()
WriteHierConfig updates stats when writing hierarchyConfig instance.
func WriteNamespace ¶
func WriteNamespace()
WriteNamespace updates stats when writing namespace instance.
func WriteObject ¶
func WriteObject(gvk schema.GroupVersionKind)
WriteObject updates the object stats by GK when writing the object.
Types ¶
This section is empty.