Adding some fields
This commit is contained in:
parent
0623ceace0
commit
87892ba13b
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
type Metric struct{
|
type Metric struct{
|
||||||
|
Name string `json:"name"`
|
||||||
|
CPU float64 `json:"cpu"`
|
||||||
|
RAM float64 `json:"ram"`
|
||||||
|
Watts float64 `json:"watts"`
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue