Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct {
// Labels of the metric
Labels map[string]string `json:"labels,omitempty"`
// Name of the metric
Name string `json:"name,omitempty"`
// Value of the metric
Value float64 `json:"value,omitempty"`
}
Metric Metric information
swagger:model metric
func (*Metric) ContextValidate ¶
ContextValidate validates this metric based on context it is used
func (*Metric) MarshalBinary ¶
MarshalBinary interface implementation
func (*Metric) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.