lib/opentelemetry/instrumentation/mongo/instrumentation.rb in opentelemetry-instrumentation-mongo-0.16.0 vs lib/opentelemetry/instrumentation/mongo/instrumentation.rb in opentelemetry-instrumentation-mongo-0.17.0

- old
+ new

@@ -22,9 +22,11 @@ compatible do gem_version >= MINIMUM_VERSION end + option :peer_service, default: nil, validate: :string + private def gem_version Gem.loaded_specs['mongo']&.version end