Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct { Name string `mapstructure:"name"` Kind string `mapstructure:"kind"` Region string `mapstructure:"region"` // Graphite-specific Host string `mapstructure:"host"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` }
Backend struct
type Rule ¶
type Rule struct { Name string Backend string `hcl:"backend"` BackendInstance Backender Comparison string `hcl:"comparison"` ComparisonValue float64 `hcl:"comparison_value,float"` Action string `hcl:"action"` ActionValue int `hcl:"action_value,int"` MetricName string `hcl:"metric_name"` MetricNamespace string `hcl:"metric_namespace"` DimensionName string `hcl:"dimension_name"` DimensionValue string `hcl:"dimension_value"` Period string `hcl:"cron"` }
Rule struct
Click to show internal directories.
Click to hide internal directories.