Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupMetricsCheck ¶
Types ¶
type MetricsWatcherConfiguration ¶
type MetricsWatcherConfiguration struct { LogSettings logger.Settings PrometheusConfiguration prometheus.Configuration Queries []prometheus.Query `default_size:"1"` }
func ReadConfig ¶
func ReadConfig(configFilePath string) (*MetricsWatcherConfiguration, error)
ReadConfig reads the configuration file from the given string. If the string is empty, it will return a config with default values.
Click to show internal directories.
Click to hide internal directories.