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: mri_spec.rb
    path of file: ./repos/appsignal-ruby/spec/lib/appsignal/probes
    
    the code of the file until where you have to start completion: describe Appsignal::Probes::MriProbe do
  let(:appsignal_mock) { AppsignalMock.new(:hostname => hostname) }
  let(:gc_profiler_mock) { inst
    
  def expect_gauge_value(expected_key, expected_value = nil, tags: {})
    expected_tags = { :hostname => Socket.gethostname }.merge(tags)
    expect(appsignal_mock.gauges).to satisfy do |gauges|
      gauges.any? do |distribution_value|
        key, value, tags = distribution_value
        next unless key == expected_key
        next unless expected_value ? expected_value == value : !value.nil?
        next unless tags == expected_tags

        true
      end
    end
  end