Versions in this module Expand all Collapse all v2 v2.4.3 Mar 21, 2022 Changes in this version + const FilenameLabel + type Config struct + Stdin bool + SyncPeriod time.Duration + func (cfg *Config) RegisterFlags(flags *flag.FlagSet) + func (cfg *Config) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet) + type FileTarget struct + func NewFileTarget(metrics *Metrics, logger log.Logger, handler api.EntryHandler, ...) (*FileTarget, error) + func (t *FileTarget) Details() interface{} + func (t *FileTarget) DiscoveredLabels() model.LabelSet + func (t *FileTarget) Labels() model.LabelSet + func (t *FileTarget) Ready() bool + func (t *FileTarget) Stop() + func (t *FileTarget) Type() target.TargetType + type FileTargetManager struct + func NewFileTargetManager(metrics *Metrics, logger log.Logger, positions positions.Positions, ...) (*FileTargetManager, error) + func (tm *FileTargetManager) ActiveTargets() map[string][]target.Target + func (tm *FileTargetManager) AllTargets() map[string][]target.Target + func (tm *FileTargetManager) Ready() bool + func (tm *FileTargetManager) Stop() + type Metrics struct + func NewMetrics(reg prometheus.Registerer) *Metrics Other modules containing this package github.com/pao214/loki/v3