Documentation ¶
Overview ¶
Package dispatch implements alert dispatching for the agent as a module. Persistent modules which generate alerts will have these alerts forwarded to this module if the dispatch module is active. The dispatch module can then forward the alerts on based on it's configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DispatchRecord ¶
type DispatchRecord struct { Hostname string `json:"hostname"` Env mig.AgentEnv `json:"environment"` Tags map[string]string `json:"tags"` Event interface{} `json:"event"` }
Dispatch record describes the formatting of JSON data submitted from the dispatch module.
type Parameters ¶
type Parameters struct { }
Parameters defines any query parameters used in this module.
Click to show internal directories.
Click to hide internal directories.