Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPMetric ¶
type HTTPMetric struct { Metric string `json:"metric"` Timestamp int64 `json:"timestamp"` ValueUnTyped interface{} `json:"value"` Value float64 `json:"-"` Tags map[string]string `json:"tags"` }
func (*HTTPMetric) Clean ¶
func (m *HTTPMetric) Clean() error
func (*HTTPMetric) ToProm ¶
func (m *HTTPMetric) ToProm() (*prompb.TimeSeries, error)
Click to show internal directories.
Click to hide internal directories.