approver

package
v0.0.0-...-dd3da58 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package approver holds approver related files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

Monitor defines an approver monitor

func NewApproverMonitor

func NewApproverMonitor(manager *manager.Manager, statsdClient statsd.ClientInterface) (*Monitor, error)

NewApproverMonitor returns a new Monitor

func (*Monitor) SendStats

func (d *Monitor) SendStats() error

SendStats send stats

type Stats

type Stats struct {
	EventApprovedByBasename uint64
	EventApprovedByFlag     uint64
	EventApprovedByAUID     uint64
}

Stats is used to collect kernel space metrics about approvers. Stats about added approvers are sent from userspace.

Jump to

Keyboard shortcuts

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