Documentation ¶
Index ¶
- type PrometheusMetric
- func (p *PrometheusMetric) Destroy()
- func (p *PrometheusMetric) ReportEvent(eventType utils.EventType)
- func (p *PrometheusMetric) ReportFailedEvent()
- func (p *PrometheusMetric) ReportRuleAlert(ruleID string)
- func (p *PrometheusMetric) ReportRuleProcessed(ruleID string)
- func (p *PrometheusMetric) Start()
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()
Click to show internal directories.
Click to hide internal directories.