models

package
v0.0.0-...-95b71d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregationSpecification

type AggregationSpecification struct {
	Name                 string
	Function             string
	FilteredMetricName   string
	FilteredDimensions   map[string]string
	RejectedDimensions   map[string]string
	GroupedDimensions    []string
	AggregatedMetricName string
	Rollup
}

type Metric

type Metric struct {
	Name       string            `json:"name"`
	Dimensions map[string]string `json:"dimensions"`
	Timestamp  float64           `json:"timestamp"`
	Value      float64           `json:"value"`
	ValueMeta  map[string]string `json:"value_meta"`
}

type MetricEnvelope

type MetricEnvelope struct {
	Metric       Metric            `json:"metric"`
	Meta         map[string]string `json:"meta"`
	CreationTime int64             `json:"creation_time"`
}

type Rollup

type Rollup struct {
	Function          string
	GroupedDimensions []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL