Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
Configuration stores the configuration of monitored nodes.
func FromApplicationConfiguration ¶
func FromApplicationConfiguration(applicationConfiguration *application.Configuration) *Configuration
FromApplicationConfiguration method extracts a monitoring configuration from application configuration.
type General ¶
type General struct { HealthcheckEvery time.Duration `yaml:"healthcheckEvery"` HTTPClientTimeout time.Duration `yaml:"hTTPClientTimeout"` RefreshDashboardEvery time.Duration `yaml:"refreshDashboardEvery"` }
General stores common settings of GreenWall.
type Node ¶
type Node struct { Name string `yaml:"name"` Endpoint string `yaml:"endpoint"` ExpectedPattern string `yaml:"expectedPattern"` // Deprecated field (please use one in HTTPCheckConfig) Type string `yaml:"type"` Parameters map[string]string `yaml:"parameters"` }
Node stores monitoring definition of a single node.
Click to show internal directories.
Click to hide internal directories.