Skip to content

Commit

Permalink
Added OTEL's meter provider
Browse files Browse the repository at this point in the history
Signed-off-by: Garvit Khandelwal <[email protected]>
  • Loading branch information
Garvit-77 committed Oct 27, 2024
1 parent a4efe57 commit ab395a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/telemetery/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package telemetery
import (
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/component/componentstatus"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
"go.uber.org/zap"

Expand All @@ -16,6 +17,7 @@ import (
type Setting struct {
Logger *zap.Logger
TracerProvider trace.TracerProvider
MeterProvider metric.MeterProvider
Metrics metrics.Factory
ReportStatus func(*componentstatus.Event)
Host component.Host
Expand Down

0 comments on commit ab395a3

Please sign in to comment.