diff --git a/dashboards.go b/dashboards.go index 9b11725..0c06e35 100644 --- a/dashboards.go +++ b/dashboards.go @@ -123,6 +123,8 @@ type Metric struct { HostID string `json:"hostId,omitempty"` ServiceName string `json:"serviceName,omitempty"` Expression string `json:"expression,omitempty"` + Query string `json:"query,omitempty"` + Legend string `json:"legend,omitempty"` } // MarshalJSON marshals as JSON @@ -150,6 +152,8 @@ type Graph struct { IsStacked bool `json:"isStacked,omitempty"` ServiceName string `json:"serviceName,omitempty"` Expression string `json:"expression,omitempty"` + Query string `json:"query,omitempty"` + Legend string `json:"legend,omitempty"` } // MarshalJSON marshals as JSON