config

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig(configFilePath string) error

func SetupMetricsCheck

func SetupMetricsCheck(cmd *cobra.Command, args []string)

Types

type MetricsWatcherConfiguration

type MetricsWatcherConfiguration struct {
	LogSettings             logger.Settings
	PrometheusConfiguration prometheus.Configuration
	Queries                 []prometheus.Query
}

func GetMetricsCheckConfig

func GetMetricsCheckConfig() (*MetricsWatcherConfiguration, error)

Jump to

Keyboard shortcuts

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