Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent)

cancel
Showing results for 
Search instead for 
Did you mean: 

Where is uWSGI configuration file for python in MacBook

New Poster

Where is uWSGI configuration file for python in MacBook

This is my 1st day with AppDynamics. 

 

Right now, I am installing the Python agent. To instrument the application, I need to modify the uWSGI configuration file. But I am not sure where that uWSGI configuration file is located in my mac. The documentation doesn't say anything though.

 

Any suggestion?

Where is uWSGI configuration file for python in MacBook
4 REPLIES 4
AppDynamics Team

Re: Where is uWSGI configuration file for python in MacBook

Hi Nahalam,

 

Could you share the command line which runs your app?

 

Regards,

Kyle

Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
New Poster

Re: Where is uWSGI configuration file for python in MacBook

Hi Kyle

 

I haven't run the application yet. Installed the controller and now installing the python agent. I am at step#3 where it says modify the uWSGI configuration files .... as pasted below

 

Instrument the Application
Modify the uWSGI configuration file by changing the module setting and adding the APPD_WSGI_MODULE and APPD_CONFIG_FILE settings to look like this, assuming that you have stored the configuration file in /etc/appdynamics.cfg:
env = APPD_CONFIG_FILE=/etc/appdynamics.cfg
env = APPD_WSGI_MODULE=yourcompany.sample:app
module = appdynamics.scripts.wsgi:application

 

AppDynamics Team

Re: Where is uWSGI configuration file for python in MacBook

Hi Nahalam,

 

You'll need a specific Python app available before we can determine where to instrument it.

 

Regards,

Kyle

Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
New Poster

Re: Where is uWSGI configuration file for python in MacBook

So far I am following the instruction and doing everything with SampleApp.

 

Or do I have to write some custom app.py in my local machine? If so how do I do that? I know python but not sure how I make use of AppD with a custom python app.