Renamed monagent package to monasca_agent and monsetup package to monasca_setup. Also, renamed the monstatsd agent package to statsd to more closely match the internal collector and forwarder packages. Change-Id: I0649ae4341fe325007e2a8d37161d330e4c95d72
20 lines
340 B
Python
20 lines
340 B
Python
import traceback
|
|
|
|
|
|
def shell():
|
|
from config import get_version
|
|
|
|
print("""
|
|
Datadog Agent v%s - Python Shell
|
|
|
|
""" % (get_version()))
|
|
while True:
|
|
cmd = raw_input('>>> ')
|
|
try:
|
|
exec(cmd)
|
|
except Exception as e:
|
|
print(traceback.format_exc(e))
|
|
|
|
if __name__ == "__main__":
|
|
shell()
|