File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,17 @@ type Node struct {
4646}
4747
4848type NodeData struct {
49- Label string `json:"label"`
50- SubLabel string `json:"subLabel"`
51- Type string `json:"type"`
52- EnablePrometheus bool `json:"enablePrometheus"`
53- MetricsLabel string `json:"metricsLabel"`
54- PrometheusQuery string `json:"prometheusQuery"`
55- Operator string `json:"operator"`
56- Threshold string `json:"threshold"`
57- DatasourceId string `json:"datasourceId"`
49+ Label string `json:"label"`
50+ SubLabel string `json:"subLabel"`
51+ Type string `json:"type"`
52+ DatasourceId string `json:"datasourceId"`
53+ NodeMetrics []NodeMetrics `json:"metrics"`
54+ }
55+
56+ type NodeMetrics struct {
57+ ID string `json:"id"`
58+ Query string `json:"query"`
59+ Tag string `json:"tag"`
5860}
5961
6062type Position struct {
You can’t perform that action at this time.
0 commit comments