metricsmanager

package
v0.3.111 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrometheusMetric

type PrometheusMetric struct {
	// contains filtered or unexported fields
}

func NewPrometheusMetric

func NewPrometheusMetric() *PrometheusMetric

func (*PrometheusMetric) Destroy

func (p *PrometheusMetric) Destroy()

func (*PrometheusMetric) IncHelperCall added in v0.3.111

func (p *PrometheusMetric) IncHelperCall(helper string)

func (*PrometheusMetric) IncMissingProfileDataRequired added in v0.3.111

func (p *PrometheusMetric) IncMissingProfileDataRequired(ruleID string)

func (*PrometheusMetric) IncProjectionReconcileTriggered added in v0.3.111

func (p *PrometheusMetric) IncProjectionReconcileTriggered(trigger string)

func (*PrometheusMetric) IncProjectionSpecCompile added in v0.3.111

func (p *PrometheusMetric) IncProjectionSpecCompile()

func (*PrometheusMetric) IncProjectionSpecHashChange added in v0.3.111

func (p *PrometheusMetric) IncProjectionSpecHashChange()

func (*PrometheusMetric) IncProjectionUndeclaredLiteral added in v0.3.111

func (p *PrometheusMetric) IncProjectionUndeclaredLiteral(helper string)

func (*PrometheusMetric) ObserveProfileEntriesRaw added in v0.3.111

func (p *PrometheusMetric) ObserveProfileEntriesRaw(field string, count float64)

func (*PrometheusMetric) ObserveProfileEntriesRetained added in v0.3.111

func (p *PrometheusMetric) ObserveProfileEntriesRetained(field string, count float64)

func (*PrometheusMetric) ObserveProfileProjectedSize added in v0.3.111

func (p *PrometheusMetric) ObserveProfileProjectedSize(bytes float64)

func (*PrometheusMetric) ObserveProfileRawSize added in v0.3.111

func (p *PrometheusMetric) ObserveProfileRawSize(bytes float64)

func (*PrometheusMetric) ObserveProfileRetentionRatio added in v0.3.111

func (p *PrometheusMetric) ObserveProfileRetentionRatio(field string, ratio float64)

func (*PrometheusMetric) ObserveProjectionApplyDuration added in v0.3.111

func (p *PrometheusMetric) ObserveProjectionApplyDuration(d time.Duration)

func (*PrometheusMetric) ReportContainerProfileCacheHit added in v0.3.108

func (p *PrometheusMetric) ReportContainerProfileCacheHit(hit bool)

func (*PrometheusMetric) ReportContainerProfileLegacyLoad added in v0.3.108

func (p *PrometheusMetric) ReportContainerProfileLegacyLoad(kind, completeness string)

func (*PrometheusMetric) ReportContainerProfileReconcilerDuration added in v0.3.108

func (p *PrometheusMetric) ReportContainerProfileReconcilerDuration(phase string, duration time.Duration)

func (*PrometheusMetric) ReportContainerProfileReconcilerEviction added in v0.3.108

func (p *PrometheusMetric) ReportContainerProfileReconcilerEviction(reason string)

func (*PrometheusMetric) ReportContainerStart added in v0.2.375

func (p *PrometheusMetric) ReportContainerStart()

func (*PrometheusMetric) ReportContainerStop added in v0.2.375

func (p *PrometheusMetric) ReportContainerStop()

func (*PrometheusMetric) ReportDedupEvent added in v0.3.91

func (p *PrometheusMetric) ReportDedupEvent(eventType utils.EventType, duplicate bool)

func (*PrometheusMetric) ReportEvent

func (p *PrometheusMetric) ReportEvent(eventType utils.EventType)

func (*PrometheusMetric) ReportFailedEvent

func (p *PrometheusMetric) ReportFailedEvent()

func (*PrometheusMetric) ReportRuleAlert

func (p *PrometheusMetric) ReportRuleAlert(ruleID string)

func (*PrometheusMetric) ReportRuleEvaluationTime added in v0.3.3

func (p *PrometheusMetric) ReportRuleEvaluationTime(ruleID string, eventType utils.EventType, duration time.Duration)

func (*PrometheusMetric) ReportRulePrefiltered added in v0.3.91

func (p *PrometheusMetric) ReportRulePrefiltered(ruleName string)

func (*PrometheusMetric) ReportRuleProcessed

func (p *PrometheusMetric) ReportRuleProcessed(ruleID string)

func (*PrometheusMetric) SetContainerProfileCacheEntries added in v0.3.108

func (p *PrometheusMetric) SetContainerProfileCacheEntries(kind string, count float64)

func (*PrometheusMetric) SetProjectionSpecAllField added in v0.3.111

func (p *PrometheusMetric) SetProjectionSpecAllField(field string, isAll bool)

func (*PrometheusMetric) SetProjectionSpecPatterns added in v0.3.111

func (p *PrometheusMetric) SetProjectionSpecPatterns(field, kind string, count float64)

func (*PrometheusMetric) SetProjectionStaleEntries added in v0.3.111

func (p *PrometheusMetric) SetProjectionStaleEntries(count float64)

func (*PrometheusMetric) SetProjectionUndeclaredRules added in v0.3.111

func (p *PrometheusMetric) SetProjectionUndeclaredRules(count float64)

func (*PrometheusMetric) SetProjectionUndeclaredRulesDetail added in v0.3.111

func (p *PrometheusMetric) SetProjectionUndeclaredRulesDetail(ruleIDs []string)

func (*PrometheusMetric) Start

func (p *PrometheusMetric) Start()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL