fuse

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

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 CreateGet

func CreateGet(cfg Config, eventsStore events_db.Store) query.GetFunc

func New

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"`
}

func ParseConfig

func ParseConfig(b any, dbRW *sql.DB, dbRO *sql.DB) (*Config, error)

func (*Config) Validate

func (cfg *Config) Validate() error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL