mirror of
https://github.com/Luzifer/mondash.git
synced 2024-12-23 04:21:18 +00:00
Fix: Add missing "Value" field
This commit is contained in:
parent
7017b80dee
commit
3210519660
1 changed files with 3 additions and 0 deletions
|
@ -100,6 +100,9 @@ type PostMetricInput struct {
|
|||
// One of: OK, Warning, Critical, Unknown
|
||||
Status Status `json:"status"`
|
||||
|
||||
// The metric value to store with the status
|
||||
Value float64 `json:"value"`
|
||||
|
||||
// Time in seconds when to remove the metric if there is no update (Valid: `0 < x < 604800`)
|
||||
// Default: `604800`
|
||||
Expires int64 `json:"expires,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue