Documentation ¶
Index ¶
- type GenericObjectSet
- type GenericPackage
- type Recorder
- func (r *Recorder) RecordDynamicCacheInformers(total int)
- func (r *Recorder) RecordDynamicCacheObjects(gvk schema.GroupVersionKind, count int)
- func (r *Recorder) RecordObjectSetMetrics(objectSet GenericObjectSet)
- func (r *Recorder) RecordPackageLoadMetric(pkg GenericPackage, d time.Duration)
- func (r *Recorder) RecordPackageMetrics(pkg GenericPackage)
- func (r *Recorder) Register()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericObjectSet ¶
type GenericPackage ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
Recorder stores all the metrics related to Addons.
func NewRecorder ¶
func NewRecorder() *Recorder
func (*Recorder) RecordDynamicCacheInformers ¶
Records the number of active Informers for the cache.
func (*Recorder) RecordDynamicCacheObjects ¶
func (r *Recorder) RecordDynamicCacheObjects(gvk schema.GroupVersionKind, count int)
Records the number of objects in the cache identified by GVK.
func (*Recorder) RecordObjectSetMetrics ¶
func (r *Recorder) RecordObjectSetMetrics(objectSet GenericObjectSet)
func (*Recorder) RecordPackageLoadMetric ¶
func (r *Recorder) RecordPackageLoadMetric(pkg GenericPackage, d time.Duration)
func (*Recorder) RecordPackageMetrics ¶
func (r *Recorder) RecordPackageMetrics(pkg GenericPackage)
Click to show internal directories.
Click to hide internal directories.