Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricINFNamespace = "ingressnodefirewall" MetricINFSubsystemNode = "node" )
Variables ¶
This section is empty.
Functions ¶
func GetPrometheusStatisticNames ¶
func GetPrometheusStatisticNames() []string
GetPrometheusStatisticNames returns all statistic metric names - to aid testing only.
Types ¶
type Statistics ¶
type Statistics struct {
// contains filtered or unexported fields
}
func NewStatistics ¶
func NewStatistics(pollPeriod string) (*Statistics, error)
func (*Statistics) Register ¶
func (m *Statistics) Register()
func (*Statistics) StartPoll ¶
func (m *Statistics) StartPoll(statsMap *ebpf.Map)
func (*Statistics) StopPoll ¶
func (m *Statistics) StopPoll()
Click to show internal directories.
Click to hide internal directories.