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.
Click to show internal directories.
Click to hide internal directories.