storage

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricInternalPrefix = "_"
	MetricMeta           = "_metric_meta"

	MetricTagMetricName  = "metric_name"
	MetricTagScope       = "metric_scope"
	MetricTagScopeID     = "metric_scope_id"
	MetricTagMetricMeta  = "meta"
	MetricTagMetricID    = "_id"
	MetricTagOrgName     = "org_name"
	MetricTagClusterName = "cluster_name"
	MetricTagTTL         = "_ttl"
	MetricTagTTLFixed    = "fixed"
	MetricTagLifetime    = "_lt"       // lifetime
	MetricTagTransient   = "transient" // transient, not stored to elasticsearch.

	MetricFieldTags   = "tags"
	MetricFieldFields = "fields"

	Minute int64 = Second * 60
	Second int64 = 1000 * 1000 * 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Metric

type Metric struct {
	*metric.Metric
	Date int64 `json:"@timestamp"`
}

Metric .

Jump to

Keyboard shortcuts

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