
class_str = 'class'
method_str = 'method'
wrapper_str = 'wrapper'
component_str = 'component'
wrap_args = 'wrap_args'
extract_info = 'extract_info'
host = 'host'
port = 'port'
default_host = 'default_host'
default_port = 'default_port'

api_connect = '/api/agent/connect'
api_data = '/api/agent/data'

rescode = 'code'
collectorinfo = 'collector-info'

manage_agent = 100
unmanage_agent = 200
delete_agent = 300
invalid_agent = 400
shutdown = 0

info_file_name = 'pythonapm.json'
base_dir = 'pythonapmdata'
logs_dir = 'logs'
log_name = 'pythonapm-agent-log.txt'
agent_logger_name = 'pythonapm-agent'
log_format = '%(asctime)s %(levelname)s %(message)s'

license_key_env = 'NEXTAPM_LICENSE_KEY'
project_key_env = 'NEXTAPM_PROJECT_ID'
agent_print_payload = 'NEXTAPM_PRINT_PAYLOAD'
agent_collector_host = 'NEXTAPM_COLLECTOR_HOST'
ssl_port = '443'

collector_domain = 'https://data.nextapm.dev'
skip_urls = ('.css', '.js', '.gif', '.jpg', '.jpeg', '.bmp', '.png', '.ico')

agent_state_info = {
  100: 'ACTIVATE',
  200: 'SUSPENDED',
  300: 'DELETED',
  400: 'INVALID'
}