This commit is contained in:
asteam
2025-03-11 13:09:17 +03:00
parent cbce7f434f
commit 3f21a89e80
27 changed files with 1194 additions and 32 deletions

View 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"`
}