iocost

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const EnableSetIOCostPeriodicalHandlerName = "SetIOCost"

Variables

This section is empty.

Functions

func SetIOCost

func SetIOCost(conf *coreconfig.Configuration,
	_ interface{},
	_ *dynamicconfig.DynamicAgentConfiguration,
	emitter metrics.MetricEmitter,
	metaServer *metaserver.MetaServer,
)

Types

type DevModel

type DevModel string
const (
	DevModelDefault      DevModel = "default"
	DevModelDefaultHDD   DevModel = "default_hdd"
	DevModelVirtualdisk  DevModel = "virtualdisk"
	DevModelNbd          DevModel = "nbd"
	DevModelLoop         DevModel = "loop"
	DevModelBcache       DevModel = "bcache"
	DevModelDeviceMapper DevModel = "dm"

	IOStatMetricCostVrate = "cost.vrate"

	MetricNameIOCostVrate = "iocost_vrate"
)

type DeviceType

type DeviceType int
const (
	HDD DeviceType = iota
	SSD
	Unknown
)

Jump to

Keyboard shortcuts

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