def shutdown_agent(timeout=None):
    agent = newrelic.core.agent.agent_instance()
    agent.shutdown_agent(timeout)
Пример #2
0
 def force_agent_shutdown(*args, **kwargs):
     shutdown_agent()