Documentation ¶
Index ¶
- func EphemeralID() uuid.UUID
- func FDUsageReporter(logger *logp.Logger, processStats *process.Stats) func(_ monitoring.Mode, V monitoring.Visitor)
- func InstanceCPUReporter(logger *logp.Logger, processStats *process.Stats) func(monitoring.Mode, monitoring.Visitor)
- func InstanceCroupsReporter(logger *logp.Logger, override string) func(monitoring.Mode, monitoring.Visitor)
- func MemStatsReporter(logger *logp.Logger, processStats *process.Stats) func(monitoring.Mode, monitoring.Visitor)
- func ReportMetricsCGV1(logger *logp.Logger, pid int, cgroups *cgroup.Reader, V monitoring.Visitor)
- func ReportMetricsCGV2(logger *logp.Logger, pid int, cgroups *cgroup.Reader, V monitoring.Visitor)
- func ReportRuntime(_ monitoring.Mode, V monitoring.Visitor)
- func ReportSystemCPUUsage(_ monitoring.Mode, V monitoring.Visitor)
- func ReportSystemLoadAverage(_ monitoring.Mode, V monitoring.Visitor)
- func SetupInfoUserMetrics()
- func SetupLinuxBSDFDMetrics(logger *logp.Logger, reg *monitoring.Registry, processStats *process.Stats)
- func SetupMetrics(logger *logp.Logger, name, version string) error
- func SetupWindowsHandlesMetrics(_ *logp.Logger, _ *monitoring.Registry)
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 ReportMetricsCGV2 ¶
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 SetupMetrics ¶ added in v0.2.0
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.
Click to show internal directories.
Click to hide internal directories.