Skip to content

Commit

Permalink
f leveled
Browse files Browse the repository at this point in the history
  • Loading branch information
wildum committed Oct 31, 2024
1 parent 996fd96 commit 691a717
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/component/otelcol/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ func (a *Auth) Update(args component.Arguments) error {
Logger: zapadapter.New(a.opts.Logger),

TracerProvider: a.opts.Tracer,
MeterProvider: mp,
LeveledMeterProvider: func(level configtelemetry.Level) otelmetric.MeterProvider {
if level <= metricsLevel {
return mp
Expand Down
1 change: 1 addition & 0 deletions internal/component/otelcol/connector/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func (p *Connector) Update(args component.Arguments) error {
Logger: zapadapter.New(p.opts.Logger),

TracerProvider: p.opts.Tracer,
MeterProvider: mp,
LeveledMeterProvider: func(level configtelemetry.Level) otelmetric.MeterProvider {
if level <= metricsLevel {
return mp
Expand Down
1 change: 1 addition & 0 deletions internal/component/otelcol/exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ func (e *Exporter) Update(args component.Arguments) error {
Logger: zapadapter.New(e.opts.Logger),

TracerProvider: e.opts.Tracer,
MeterProvider: mp,
LeveledMeterProvider: func(level configtelemetry.Level) otelmetric.MeterProvider {
if level <= metricsLevel {
return mp
Expand Down
1 change: 1 addition & 0 deletions internal/component/otelcol/extension/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func (e *Extension) Update(args component.Arguments) error {
Logger: zapadapter.New(e.opts.Logger),

TracerProvider: e.opts.Tracer,
MeterProvider: mp,
LeveledMeterProvider: func(level configtelemetry.Level) otelmetric.MeterProvider {
if level <= metricsLevel {
return mp
Expand Down
1 change: 1 addition & 0 deletions internal/component/otelcol/processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ func (p *Processor) Update(args component.Arguments) error {
Logger: zapadapter.New(p.opts.Logger),

TracerProvider: p.opts.Tracer,
MeterProvider: mp,
LeveledMeterProvider: func(level configtelemetry.Level) otelmetric.MeterProvider {
if level <= metricsLevel {
return mp
Expand Down
1 change: 1 addition & 0 deletions internal/component/otelcol/receiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ func (r *Receiver) Update(args component.Arguments) error {
Logger: zapadapter.New(r.opts.Logger),

TracerProvider: r.opts.Tracer,
MeterProvider: mp,
LeveledMeterProvider: func(level configtelemetry.Level) otelmetric.MeterProvider {
if level <= metricsLevel {
return mp
Expand Down

0 comments on commit 691a717

Please sign in to comment.