package
Version:
v0.0.0-...-701ea4a
Opens a new window with list of versions in this module.
Published: Dec 25, 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.