lib/opentelemetry/instrumentation/gruf/interceptors/client.rb in opentelemetry-instrumentation-gruf-0.1.0 vs lib/opentelemetry/instrumentation/gruf/interceptors/client.rb in opentelemetry-instrumentation-gruf-0.1.1

- old
+ new

@@ -8,10 +8,10 @@ module Instrumentation module Gruf module Interceptors class Client < ::Gruf::Interceptors::ClientInterceptor def call(request_context:) - return yield if instrumentation_config.blank? + return yield if instrumentation_config.empty? service = request_context.method.split('/')[1] method = request_context.method_name method_name_with_service = [service.underscore, method].join('.').downcase