fettle v1.0.0 Fettle.Spec View Source
Describes health check meta-data; created from configuration and used to generate reports.
All the fields must have values, but some can be provided from the
global config, see Fettle.Config.
| Field | Summary | Default |
|---|---|---|
id | Unique ID | defaults to value of name |
name | Unique Name | Human readable name, required |
description | Description of what check does | defaults to value of name |
severity | Severity of failure, from 1, critical, to 3, informational | required |
panic_guide_url | URL for Ops to go to when check fails | required, but can default to config value |
business_impact | What business process will be impacted if check fails | required, but can default to config value |
technical_summary | What has gone wrong, technically, if check fails | required, but can default to config value |
initial_delay_ms | Number of milliseconds to wait before running first check | defaults from config |
period_ms | Number of milliseconds to wait between runs of the same check | defaults from config |
timeout_ms | Number of milliseconds to wait before timing-out a running check | defaults from config |
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Fettle.Spec{
business_impact: String.t(),
description: String.t(),
id: String.t(),
initial_delay_ms: non_neg_integer(),
name: String.t(),
panic_guide_url: String.t(),
period_ms: non_neg_integer(),
severity: severity(),
technical_summary: String.t(),
timeout_ms: non_neg_integer()
}