v9.0.0
This commit is contained in:
13
pkg/cloudbroker/prometheus/models.go
Normal file
13
pkg/cloudbroker/prometheus/models.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package prometheus
|
||||
|
||||
// PrometheusData represents an array of data points
|
||||
type PrometheusData []PrometheusPoint
|
||||
|
||||
// PrometheusPoint represents a single data point
|
||||
type PrometheusPoint struct {
|
||||
// Value of the metric at a specific point in time
|
||||
Value float64 `json:"value"`
|
||||
|
||||
// Timestamp the Unix timestamp.
|
||||
Timestamp uint64 `json:"timestamp"`
|
||||
}
|
||||
Reference in New Issue
Block a user