Documentation
¶
Overview ¶
Package metrics implements the FUSE connections metrics collection and reporting.
Index ¶
- Constants
- func InitAveragers(dbRW *sql.DB, dbRO *sql.DB, tableName string)
- func ReadConnectionsCongestedPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func ReadConnectionsMaxBackgroundPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func Register(reg *prometheus.Registry, dbRW *sql.DB, dbRO *sql.DB, tableName string) error
- func SetConnectionsCongestedPercent(ctx context.Context, deviceName string, pct float64, currentTime time.Time) error
- func SetConnectionsMaxBackgroundPercent(ctx context.Context, deviceName string, pct float64, currentTime time.Time) error
- func SetLastUpdateUnixSeconds(unixSeconds float64)
Constants ¶
View Source
const SubSystem = "fuse"
Variables ¶
This section is empty.
Functions ¶
func SetLastUpdateUnixSeconds ¶
func SetLastUpdateUnixSeconds(unixSeconds float64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.