Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TypeStr the value of "type" key in configuration.
TypeStr = "filesystem"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { internal.ConfigSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct // IncludeDevices specifies a filter on the devices that should be included in the generated metrics. IncludeDevices DeviceMatchConfig `mapstructure:"include_devices"` // ExcludeDevices specifies a filter on the devices that should be excluded from the generated metrics. ExcludeDevices DeviceMatchConfig `mapstructure:"exclude_devices"` // IncludeFSTypes specifies a filter on the filesystem types that should be included in the generated metrics. IncludeFSTypes FSTypeMatchConfig `mapstructure:"include_fs_types"` // ExcludeFSTypes specifies a filter on the filesystem types points that should be excluded from the generated metrics. ExcludeFSTypes FSTypeMatchConfig `mapstructure:"exclude_fs_types"` // IncludeMountPoints specifies a filter on the mount points that should be included in the generated metrics. IncludeMountPoints MountPointMatchConfig `mapstructure:"include_mount_points"` // ExcludeMountPoints specifies a filter on the mount points that should be excluded from the generated metrics. ExcludeMountPoints MountPointMatchConfig `mapstructure:"exclude_mount_points"` }
Config relating to FileSystem Metric Scraper.
type DeviceMatchConfig ¶ added in v0.12.0
type FSTypeMatchConfig ¶ added in v0.12.0
type Factory ¶
type Factory struct { }
Factory is the Factory for scraper.
func (*Factory) CreateDefaultConfig ¶
CreateDefaultConfig creates the default configuration for the Scraper.
type MountPointMatchConfig ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.