# File lib/new_relic/agent.rb, line 274
    def record_custom_event(event_type, event_attrs)
      if agent && NewRelic::Agent.config['custom_insights_events.enabled''custom_insights_events.enabled']
        agent.custom_event_aggregator.record(event_type, event_attrs)
      end
      nil
    end