Versions in this module Expand all Collapse all v2 v2.4.3 Mar 21, 2022 Changes in this version + type Option func(p *Promtail) + func WithLogger(log log.Logger) Option + func WithRegisterer(reg prometheus.Registerer) Option + type Promtail struct + func New(cfg config.Config, metrics *client.Metrics, dryRun bool, opts ...Option) (*Promtail, error) + func (p *Promtail) Client() client.Client + func (p *Promtail) Run() error + func (p *Promtail) Shutdown() Other modules containing this package github.com/pao214/loki/v3