==============================================================
    curl -X POST \
    -H "Content-Type: application/json" \
    -d '<sample otel trace json>' \
    http://<collector_host>:<collector_http_port>/v1/traces -v| # This is a Demonstration of usage of Appd Python agent API's | |
| from time import sleep | |
| from appdynamics.agent import api as appd | |
| appd.init( | |
| environ={ | |
| 'APPD_CONFIG_FILE':'<pah to>/appdynamics.cfg' | |
| } | |
| ) | |
| def some_method(id): | 
| __author__ = 'ArunG' | |
| # python marknodeshistorical.py -c http://aruganga-m-l2db.local:8090 -n admin@customer1 -p admin -a TestApp | |
| ''' | |
| Marks nodes as historical for an AppDynamics application | |
| Usage: python marknodeshistorical.py [options] | |
| Options: | |
| -h, --help show this help | 
| ### Ruby Agent Heapdump collection: | |
| Preparing your rails application for heapdump Analysis. | |
| 1. In your rails application create initializer that initiates the ObjectSpace: | |
| ``` | |
| #<Rails App>/config/initializers/heap_dump_tracing.rb | |
| require 'objspace' | |
| ObjectSpace.trace_object_allocations_start | |
| ``` | 
| Welcome aboard!! | |
| The Below weekly planner helps to onboard Candidates in most effective and targeted way. | |
| Irrespective of Grade level, These are mandatory basics that one must acquire to be successful at there positions. | |
| These weeks plans are made considering that you have a little basics background of any one of the Dynamic Languages like Python, Nodejs, PHP. | |
| Week 1: | |
| - Onboarding and Laptop Setup | |
| - Checklist to take permission -[see Access CheckList] https://confluence.corp.appdynamics.com/pages/viewpage.action?pageId=15156192 | |
| - Departments in Appd CSE | |
| - Understanding of Appd. www.appdynamics.com | 
| #PHP Apache CORE DUMP - GDB backtrace | |
| Open httpd.conf: | |
| vi httpd.conf | |
| Add following line main config section: | |
| ```CoreDumpDirectory /tmp/apache2-gdb-dump``` | |
| Unlimited core dump size, In terminal add below | |
| ```ulimit -c unlimited``` | 
| Sample Python Cloudfoundry Application | |
| ================================================================================ | |
| Pre-Requisites. | |
| ================================================================================ | |
| - CloudFoundry Environment with Appdynamics Tile installed and configured with controller(s) information. | |
| - Sample Application. | |
| TD |