Documentation
¶
Overview ¶
Package fuse monitors the FUSE (Filesystem in Userspace).
Index ¶
Constants ¶
View Source
const ( DefaultCongestedPercentAgainstThreshold = float64(90) DefaultMaxBackgroundPercentAgainstThreshold = float64(80) )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, cfg Config, eventStore eventstore.Store) (components.Component, error)
Types ¶
type Config ¶
type Config struct {
Query query_config.Config `json:"query"`
// CongestedPercentAgainstThreshold is the percentage of the FUSE connections waiting
// at which we consider the system to be congested.
CongestedPercentAgainstThreshold float64 `json:"congested_percent_against_threshold"`
// MaxBackgroundPercentAgainstThreshold is the percentage of the FUSE connections waiting
// at which we consider the system to be congested.
MaxBackgroundPercentAgainstThreshold float64 `json:"max_background_percent_against_threshold"`
}
type Output ¶
type Output struct {
ConnectionInfos []fuse.ConnectionInfo `json:"connection_infos"`
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Package id provides the ID of the FUSE connection component.
|
Package id provides the ID of the FUSE connection component. |
|
Package metrics implements the FUSE connections metrics collection and reporting.
|
Package metrics implements the FUSE connections metrics collection and reporting. |
Click to show internal directories.
Click to hide internal directories.