Skip to content

Commit

Permalink
ozontech#631 fixed metric registration
Browse files Browse the repository at this point in the history
  • Loading branch information
romanchechyotkin committed Aug 1, 2024
1 parent a33a931 commit ab6bc29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/output/loki/loki.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ func (p *Plugin) Start(config pipeline.AnyConfig, params *pipeline.OutputPluginP
p.config = config.(*Config)
p.logger = params.Logger
p.avgEventSize = params.PipelineSettings.AvgEventSize
p.registerMetrics(params.MetricCtl)

batcherOpts := &pipeline.BatcherOptions{
PipelineName: params.PipelineName,
Expand Down

0 comments on commit ab6bc29

Please sign in to comment.