Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for Pure Storage FlashArray receiver.
Types ¶
type Config ¶
type Config struct { confighttp.ClientConfig `mapstructure:",squash"` // Settings contains settings for the individual scrapers Settings *Settings `mapstructure:"settings"` // Array represents the list of arrays to query Array []internal.ScraperConfig `mapstructure:"array"` // Hosts represents the list of hosts to query Hosts []internal.ScraperConfig `mapstructure:"hosts"` // Directories represents the list of directories to query Directories []internal.ScraperConfig `mapstructure:"directories"` // Pods represents the list of pods to query Pods []internal.ScraperConfig `mapstructure:"pods"` // Volumes represents the list of volumes to query Volumes []internal.ScraperConfig `mapstructure:"volumes"` // Env represents the respective environment value valid to scrape Env string `mapstructure:"env"` // ArrayName represents the display name that is appended to the received metrics, as the `host` label if not provided by OpenMetrics output, and to the `fa_array_name` label always ArrayName string `mapstructure:"fa_array_name"` // Namespace selects the OpenMetrics namespace requested Namespace string `mapstructure:"namespace"` }
Config relating to Array Metric Scraper.
type ReloadIntervals ¶
type Settings ¶
type Settings struct {
ReloadIntervals *ReloadIntervals `mapstructure:"reload_intervals"`
}
Click to show internal directories.
Click to hide internal directories.