report

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EphemeralID added in v0.2.0

func EphemeralID() uuid.UUID

EphemeralID returns generated EphemeralID

func FDUsageReporter

func FDUsageReporter(logger *logp.Logger, processStats *process.Stats) func(_ monitoring.Mode, V monitoring.Visitor)

func InstanceCPUReporter

func InstanceCPUReporter(logger *logp.Logger, processStats *process.Stats) func(monitoring.Mode, monitoring.Visitor)

func InstanceCroupsReporter

func InstanceCroupsReporter(logger *logp.Logger, override string) func(monitoring.Mode, monitoring.Visitor)

func MemStatsReporter

func MemStatsReporter(logger *logp.Logger, processStats *process.Stats) func(monitoring.Mode, monitoring.Visitor)

func ReportMetricsCGV1

func ReportMetricsCGV1(logger *logp.Logger, pid int, cgroups *cgroup.Reader, V monitoring.Visitor)

func ReportMetricsCGV2

func ReportMetricsCGV2(logger *logp.Logger, pid int, cgroups *cgroup.Reader, V monitoring.Visitor)

func ReportRuntime

func ReportRuntime(_ monitoring.Mode, V monitoring.Visitor)

func ReportSystemCPUUsage

func ReportSystemCPUUsage(_ monitoring.Mode, V monitoring.Visitor)

func ReportSystemLoadAverage

func ReportSystemLoadAverage(_ monitoring.Mode, V monitoring.Visitor)

func SetupLinuxBSDFDMetrics

func SetupLinuxBSDFDMetrics(logger *logp.Logger, reg *monitoring.Registry, processStats *process.Stats)

func SetupMetrics added in v0.2.0

func SetupMetrics(logger *logp.Logger, name, version string) error

func SetupWindowsHandlesMetrics

func SetupWindowsHandlesMetrics(_ *logp.Logger, _ *monitoring.Registry)

Counting number of open handles is only supported on Windows.

Types

This section is empty.

Jump to

Keyboard shortcuts

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