Class: GraphQL::Tracing::NewRelicTrace::NewrelicMonitor::Event
  
  
  
  Instance Attribute Summary
  
  
  #keyword, #object
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  #initialize
  
    Instance Method Details
    
      
  
  
    #finish  ⇒ Object 
  
  
  
  
    
      
61
62
63 
     | 
    
      # File 'lib/graphql/tracing/new_relic_trace.rb', line 61
def finish
  @nr_ev.finish
end 
     | 
  
 
    
      
  
  
    #start  ⇒ Object 
  
  
  
  
    
      
56
57
58
59 
     | 
    
      # File 'lib/graphql/tracing/new_relic_trace.rb', line 56
def start
  name = @monitor.name_for(keyword, object)
  @nr_ev = NewRelic::Agent::Tracer.start_transaction_or_segment(partial_name: name, category: :web)
end 
     |