lib/gruf/prometheus/server/interceptor.rb
##
# Intercept the call and send metrics
#
Intercept the call and send metrics
Intercept the call and send metrics
def call(&block)
          result = ::Gruf::Interceptors::Timer.time(&block)
          send_metrics(result)
          raise result.message unless result.successful?
          result.message
        end
def call ( & block ) result = :: Gruf :: Interceptors :: Timer . time ( & block ) send_metrics ( result ) raise result . message unless result . successful? result . message end
Intercept the call and send metrics
Intercept the call and send metrics
block
<not_specific>