This commit is contained in:
mr
2025-06-18 07:58:40 +02:00
parent ec7a7e4746
commit 29bc21735d
3 changed files with 57 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
package models
type MetricsSnapshot struct {
From string `json:"origin"`
Metrics []Metric `json:"metrics"`
}
type Metric struct {
Name string `json:"name"`
Value float64 `json:"value"`
Error error `json:"error"`
}
type MetricResume struct {
Delta float64 `json:"delta"`
LastValue float64 `json:"last_value"`
}

0
models/common/planner.go Normal file → Executable file
View File