Documentation ¶
Overview ¶
Package config provides helpers for USM configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNotSupported = errors.New("Universal Service Monitoring (USM) is not supported")
ErrNotSupported is the error returned if USM is not supported on this platform
var MinimumKernelVersion kernel.Version
MinimumKernelVersion indicates the minimum kernel version required for HTTP monitoring
Functions ¶
func CheckUSMSupported ¶
CheckUSMSupported returns an error if USM is not supported on this platform. Callers can check `errors.Is(err, ErrNotSupported)` to verify if USM is supported
func IsUSMSupportedAndEnabled ¶
IsUSMSupportedAndEnabled returns true if USM is supported and enabled
func NeedProcessMonitor ¶
NeedProcessMonitor returns true if the process monitor is needed for the given configuration
func TLSSupported ¶
TLSSupported returns true if HTTPs monitoring is supported on the current OS. We only support ARM with kernel >= 5.5.0 and with runtime compilation enabled
Types ¶
This section is empty.