discarder

package
v0.0.0-...-f51b26c Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package discarder holds discarder 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 a discarder monitor

func NewDiscarderMonitor

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

NewDiscarderMonitor returns a new Monitor

func (*Monitor) SendStats

func (d *Monitor) SendStats() error

SendStats send stats

type Stats

type Stats struct {
	DiscarderAdded uint64 `yaml:"discarder_added"`
	EventDiscarded uint64 `yaml:"event_discarded"`
}

Stats is used to collect kernel space metrics about discarders

Jump to

Keyboard shortcuts

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