You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: vendor.rb
    path of file: ./repos/newrelic-ruby-agent/lib/new_relic/agent/utilization
    
    the code of the file until where you have to start completion: # This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

require 'net/http'

module NewRelic
  module Agent
    module Utilizat
    
          def processed_headers
            return unless @headers

            @headers.each_with_object({}) do |(key, value), processed_hash|
              # Header lambdas are expected to return string values. If nil comes back, replace it with :error
              # to signify that the call failed.
              processed_hash[key] = value.class.eql?(Proc) ? value.call || :error : value
            end
          end