Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/new_sdk/main' into mvg/new_sdk…
Browse files Browse the repository at this point in the history
…/2944
  • Loading branch information
MadVikingGod authored Jun 10, 2022
2 parents ecb0ce6 + 2aee92c commit d3a8b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/metric/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ import (
type MeterProvider struct {
res *resource.Resource

meters meterRegistry
//nolint:structcheck,unused //This will be used by the MP to produce for a reader, and for the Meters to do proper view filtering
meters meterRegistry
readers map[Reader][]view.View

forceFlush, shutdown func(context.Context) error
Expand All @@ -56,6 +55,7 @@ func NewMeterProvider(options ...Option) *MeterProvider {

return &MeterProvider{
res: conf.res,
readers: conf.readers,
forceFlush: flush,
shutdown: sdown,
}
Expand Down

0 comments on commit d3a8b63

Please sign in to comment.