Versions in this module Expand all Collapse all v3 v3.0.1 Mar 21, 2022 v3.0.0 Mar 21, 2022 Changes in this version + const ClusterSeedFileName + var JSONCodec = jsonCodec + func Edition(edition string) + func NewFloat(name string) *expvar.Float + func NewInt(name string) *expvar.Int + func NewString(name string) *expvar.String + func Target(target string) + type ClusterSeed struct + CreatedAt time.Time + UID string + func (c *ClusterSeed) Clone() memberlist.Mergeable + func (c *ClusterSeed) Merge(mergeable memberlist.Mergeable, localCAS bool) (change memberlist.Mergeable, error error) + func (c *ClusterSeed) MergeContent() []string + func (c *ClusterSeed) RemoveTombstones(limit time.Time) (total, removed int) + type Config struct + Enabled bool + Leader bool + func (cfg *Config) RegisterFlags(f *flag.FlagSet) + type Counter struct + func NewCounter(name string) *Counter + func (c *Counter) Inc(i int64) + func (c *Counter) String() string + func (c *Counter) Value() map[string]interface{} + type Report struct + Arch string + ClusterID string + CreatedAt time.Time + Edition string + Interval time.Time + IntervalPeriod float64 + Metrics map[string]interface{} + Os string + Target string + type Reporter struct + func NewReporter(config Config, kvConfig kv.Config, objectClient chunk.ObjectClient, ...) (*Reporter, error) + type Statistics struct + func NewStatistics(name string) *Statistics + func (s *Statistics) Record(v float64) + func (s *Statistics) String() string + func (s *Statistics) Value() map[string]interface{} + type WordCounter struct + func NewWordCounter(name string) *WordCounter + func (w *WordCounter) Add(word string) + func (w *WordCounter) String() string + func (w *WordCounter) Value() int64 Other modules containing this package github.com/pao214/loki/v2