proctelemetry

package
v0.114.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterProcessMetrics

func RegisterProcessMetrics(cfg component.TelemetrySettings, opts ...RegisterOption) error

RegisterProcessMetrics creates a new set of processMetrics (mem, cpu) that can be used to measure basic information about this process.

Types

type RegisterOption

type RegisterOption interface {
	// contains filtered or unexported methods
}

func WithHostProc

func WithHostProc(hostProc string) RegisterOption

WithHostProc overrides the /proc folder on Linux used by process telemetry.

Jump to

Keyboard shortcuts

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