code: def set_custom_metrics_for_course_key(course_key):
      
      if not newrelic:
          return
      newrelic.agent.add_custom_parameter('course_id', six.text_type(course_key))
      newrelic.agent.add_custom_parameter('org', six.text_type(course_key.org))
docs: Set monitoring custom metrics related to a course key.
  
      This is not cached, and only support reporting to New Relic Insights.