lib/opentelemetry/instrumentation/gruf/interceptors/server.rb in opentelemetry-instrumentation-gruf-0.1.0 vs lib/opentelemetry/instrumentation/gruf/interceptors/server.rb in opentelemetry-instrumentation-gruf-0.1.1
- old
+ new
@@ -8,10 +8,10 @@
module Instrumentation
module Gruf
module Interceptors
class Server < ::Gruf::Interceptors::ServerInterceptor
def call
- return yield if instrumentation_config.blank?
+ return yield if instrumentation_config.empty?
method = request.method_name
return yield if instrumentation_config[:grpc_ignore_methods_on_server].include?(method)