Skip to content

Commit

Permalink
Merge pull request #70 from appoptics/alert-conditions-submit-zero-th…
Browse files Browse the repository at this point in the history
…reshold

Include 0 values in alert threshold payloads
  • Loading branch information
Alex Kahn authored Dec 12, 2019
2 parents 7c44f1c + 0f58297 commit 948a740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type AlertCondition struct {
ID int `json:"id,omitempty"`
Type string `json:"type,omitempty"`
MetricName string `json:"metric_name,omitempty"`
Threshold float64 `json:"threshold,omitempty"`
Threshold float64 `json:"threshold"`
SummaryFunction string `json:"summary_function,omitempty"`
Duration int `json:"duration,omitempty"`
DetectReset bool `json:"detect_reset,omitempty"`
Expand Down

0 comments on commit 948a740

Please sign in to comment.