<filename>app/controllers/ping.py
from flask import Blueprint


ping = Blueprint("ping", __name__)

@ping.route("/ping")
def main():
    # newrelic.agent.ignore_transaction(flag=True)
    return "pong"

<filename>app/controllers/ping.py
from flask import Blueprint


ping = Blueprint("ping", __name__)

@ping.route("/ping")
def main():
    # newrelic.agent.ignore_transaction(flag=True)
    return "pong"

# newrelic.agent.ignore_transaction(flag=True)