Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Units []Unit `mapstructure:"units"` // enum table definition MetricType map[string]datahub_common.MetricType `mapstructure:"metricType"` Scope map[string]datahub_schemas.Scope `mapstructure:"scope"` Aggregation map[string]datahub_common.TimeRange_AggregateFunction `mapstructure:"aggregation"` }
type Unit ¶
type Unit struct { Enabled bool `mapstructure:"enabled"` Predictor string `mapstructure:"predictor"` ScopeStr string `mapstructure:"scope"` Scope datahub_schemas.Scope `mapstructure:"-"` Category string `mapstructure:"category"` Type string `mapstructure:"type"` Granularities []string `mapstructure:"granularities"` MetricTypeStrs []string `mapstructure:"metricTypes"` Metric metricSeriesMeta `mapstructure:"metric"` Prediction predictSeriesMeta `mapstructure:"prediction"` IDKeys []string `mapstructure:"idKeys"` Measurement string `mapstructure:"measurement"` UnitValueKeys *unitValueKeys `mapstructure:"valueKeys"` UnitParameters *unitParameters `mapstructure:"parameters"` MetricTypes []datahub_common.MetricType `mapstructure:"-"` }
Click to show internal directories.
Click to hide internal directories.