report

package
v0.10.8 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 15 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 SetupInfoUserMetrics added in v0.6.0

func SetupInfoUserMetrics()

SetupInfoUserMetrics adds user data to the `info` registry component this is performed async, as on windows user lookup can take up to a minute.

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

SetupMetrics creates a basic suite of metrics handlers for monitoring, including build info and system resources

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