Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DimensionTopNMetric ¶
type DimensionTopNMetric struct {
MetricType MetricType `json:"type"`
Ordering sorting.SortingOrder `json:"ordering,omitempty"`
PreviousStop string `json:"previousStop,omitempty"`
}
func (DimensionTopNMetric) Type ¶
func (d DimensionTopNMetric) Type() string
type InvertedTopNMetric ¶
type InvertedTopNMetric struct {
MetricType MetricType `json:"type"`
Metric Metric `json:"metric"`
}
type MetricType ¶
type MetricType int
const ( NUMERIC MetricType = iota DIMENSION INVERTED )
func (MetricType) MarshalJSON ¶
func (t MetricType) MarshalJSON() ([]byte, error)
func (MetricType) Name ¶
func (t MetricType) Name() string
func (MetricType) Ordinal ¶
func (t MetricType) Ordinal() int
func (MetricType) Values ¶
func (t MetricType) Values() *[]string
type NumericTopNMetric ¶
type NumericTopNMetric struct {
MetricType MetricType `json:"type"`
Metric Metric `json:"metric"`
}
func (NumericTopNMetric) Type ¶
func (n NumericTopNMetric) Type() string
type SimpleTopNMetric ¶
type SimpleTopNMetric string
func (SimpleTopNMetric) Type ¶
func (s SimpleTopNMetric) Type() string
Click to show internal directories.
Click to hide internal directories.