Skip to content

Commit

Permalink
Fix: name property access on Meter returns InstrumentationScope (#3142)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersoncarlosfs authored Jan 30, 2023
1 parent 8f312c4 commit 7fcafb1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ def __init__(
instrumentation_scope: InstrumentationScope,
measurement_consumer: MeasurementConsumer,
):
super().__init__(instrumentation_scope)
super().__init__(
name=instrumentation_scope.name,
version=instrumentation_scope.version,
schema_url=instrumentation_scope.schema_url,
)
self._instrumentation_scope = instrumentation_scope
self._measurement_consumer = measurement_consumer
self._instrument_id_instrument = {}
Expand Down

0 comments on commit 7fcafb1

Please sign in to comment.