From 32105196603c07cab47ba21a746066c15ac8d157 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 6 Sep 2016 18:44:27 +0200 Subject: [PATCH] Fix: Add missing "Value" field --- client/client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/client.go b/client/client.go index c18a777..e695cef 100644 --- a/client/client.go +++ b/client/client.go @@ -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"`