metrics

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(mod *elf.Module) *Handler

func (*Handler) QueryAll

func (h *Handler) QueryAll() Metrics

type Metric

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

Metric is just an aggregate of the kernel key and value

func (*Metric) Count

func (m *Metric) Count() uint64

func (*Metric) Errno

func (m *Metric) Errno() uint16

func (*Metric) First

func (m *Metric) First() uint64

func (*Metric) Last

func (m *Metric) Last() uint64

func (*Metric) PidNS

func (m *Metric) PidNS() uint32

func (Metric) PidNamespace

func (m Metric) PidNamespace() int

PidNamespace is for podmon.ResolverContext interface abstraction

func (Metric) String

func (m Metric) String() string

func (*Metric) Syscall

func (m *Metric) Syscall() uint32

func (*Metric) TimeSpent

func (m *Metric) TimeSpent() uint64

type Metrics

type Metrics []Metric

Metrics is an array of metric entries

Jump to

Keyboard shortcuts

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