Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricValues ¶
type MetricValues struct { Metric map[string]string `json:"metric"` Values []TimestampValue `json:"values"` }
type PrometheusResponse ¶
type PrometheusResponse struct { Status string `json:"status"` Data PrometheusResponseData `json:"data"` }
type PrometheusResponseData ¶
type PrometheusResponseData struct { ResultType string `json:"resultType"` Result []MetricValues `json:"result"` }
type TimestampValue ¶
func (*TimestampValue) UnmarshalJSON ¶
func (tv *TimestampValue) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.