1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-12-23 04:21:18 +00:00

Update options in client

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-01-20 19:01:26 +01:00
parent baec3b6009
commit d141ee43f4
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -118,6 +118,10 @@ type PostMetricInput struct {
// If set to true the median absolute deviation is hidden on the dashboard for this metric // If set to true the median absolute deviation is hidden on the dashboard for this metric
// Default: false // Default: false
HideMAD bool `json:"hide_mad,omitempty"` HideMAD bool `json:"hide_mad,omitempty"`
// If set to true the value of the metric is not shown on the dashboard
// Default: false
HideValue bool `json:"hide_value,omitempty"`
} }
func (p *PostMetricInput) validate() error { func (p *PostMetricInput) validate() error {