You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
348 B
14 lines
348 B
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"`
|
|
}
|