metricsmanager

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 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) ReportContainerStart added in v0.2.375

func (p *PrometheusMetric) ReportContainerStart()

func (*PrometheusMetric) ReportContainerStop added in v0.2.375

func (p *PrometheusMetric) ReportContainerStop()

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) ReportRuleProcessed

func (p *PrometheusMetric) ReportRuleProcessed(ruleID 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