metrics

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

type Stats struct {
	Events     counter.Counter
	Signatures counter.Counter
	Detections counter.Counter
}

When updating this struct, please make sure to update the relevant exporting functions

func (*Stats) RegisterPrometheus

func (stats *Stats) RegisterPrometheus() error

Register Stats to prometheus metrics exporter

Jump to

Keyboard shortcuts

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