catalog

in spec/support/event_collector.rb [55:66]


  def catalog(json)
    @mutex.synchronize do
      case json.keys.first
      when 'transaction' then transactions << json.values.first
      when 'span' then spans << json.values.first
      when 'error' then errors << json.values.first
      when 'metricset' then metricsets << json.values.first
      when 'metadata' then metadatas << json.values.first
      end
    end
  end