class GraphQL::Tracing::PrometheusTracing

def instrument_execution(platform_key, key, &block)

def instrument_execution(platform_key, key, &block)
  start = ::Process.clock_gettime ::Process::CLOCK_MONOTONIC
  result = block.call
  duration = ::Process.clock_gettime(::Process::CLOCK_MONOTONIC) - start
  observe platform_key, key, duration
  result
end