<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_monitoring_transaction_name(name, group=None, priority=None):
 """ Sets the transaction name for monitoring. This is not cached, and only support reporting to New Relic. """

    if not newrelic:
        return
    newrelic.agent.set_transaction_name(name, group, priority)