Versions in this module Expand all Collapse all v1 v1.0.0 Sep 30, 2019 Changes in this version + const DefaultMetricRedisKey + const DefaultMetricsValueKey + func DefaultCron() *cron.Cron + type AutumnLocalMetric struct + func (arm *AutumnLocalMetric) ResetByCron(spec string) error + type AutumnMetricsCollector struct + func NewAutumnCollector(subsystem string, path ...string) *AutumnMetricsCollector + func (ac *AutumnMetricsCollector) NewAutumnLocalMetric(name string, labels ...string) *AutumnLocalMetric + func (ac *AutumnMetricsCollector) NewAutumnRedisMetric(client *redis.Client, name string, labels ...string) *AutumnRedisMetric + type AutumnRedisMetric struct + Labels []string + Name string + Type pure.MetricType + func (arm *AutumnRedisMetric) Add(value float64, labelValues ...string) error + func (arm *AutumnRedisMetric) GetLabelValues() []*pure.LabelValue + func (arm *AutumnRedisMetric) GetLabels() []string + func (arm *AutumnRedisMetric) GetMetricValueKey() string + func (arm *AutumnRedisMetric) GetName() string + func (arm *AutumnRedisMetric) GetRedisKey() string + func (arm *AutumnRedisMetric) GetValue(label ...string) float64 + func (arm *AutumnRedisMetric) Incr(labelValues ...string) error + func (arm *AutumnRedisMetric) ResetByCron(spec string) error + func (arm *AutumnRedisMetric) ResetMetricRedisKey(redisKey string) *AutumnRedisMetric + func (arm *AutumnRedisMetric) ResetMetricValueRedisKey(valueKey string) *AutumnRedisMetric + func (arm *AutumnRedisMetric) Set(value float64, labelValues ...string) error