metricsmanager

package
v0.2.206 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 8 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) 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) 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