package
Version:
v0.0.0-...-92348d9
Opens a new window with list of versions in this module.
Published: Dec 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package systemprobe fetch information about the system probe
GetProvider if system probe is enabled returns status.Provider otherwise returns nil
func GetStatus(stats map[string]interface{}, socketPath string)
GetStatus returns the expvar stats of the system probe
type Provider struct {
SocketPath string
}
Provider provides the functionality to populate the status output
HTML renders the html output
JSON populates the status map
Section return the section
Text renders the text output
Source Files
¶
Click to show internal directories.
Click to hide internal directories.