Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatchedMetricsCache ¶
type Metric ¶
type Metric struct { DataPoint *pmetric.NumberDataPoint // contains filtered or unexported fields }
type MetricCache ¶
type MetricCache struct { // map key is the metric group name MetricGroups map[string]*MetricGroup // contains filtered or unexported fields }
func GetCache ¶
func GetCache(id string, cacheTtl time.Duration, metricGroups []common.MetricGroup, logger *zap.Logger) MetricCache
type MetricGroup ¶
func (*MetricGroup) GetMatchedMetricsCache ¶
func (mg *MetricGroup) GetMatchedMetricsCache(id string) *MatchedMetricsCache
func (*MetricGroup) HasMatchedMetrics ¶
func (mg *MetricGroup) HasMatchedMetrics(id string) bool
func (*MetricGroup) SetMetric ¶
func (mg *MetricGroup) SetMetric(id string, name string, data *pmetric.NumberDataPoint)
Click to show internal directories.
Click to hide internal directories.