You can integrate Flagsmith with AppDynamics. This integration is helpful if you are self hosting and wanting to analyse the performance of Flagsmith in more detail.
AppDynamics is an Enterprise-only integration.
Setup
The application supports the use of AppDynamics for monitoring purposes. In order to setup AppDynamics for your environment follow the steps below:
- Set up your application in your AppDynamics dashboard using the "Getting Started Wizard - Python".
- In the wizard you will need to select the "uWSGI with Emperor: Module Directive" when choosing a deployment method
- On completing the wizard you will be provided with a configuration file named something like
appdynamics.template.cfg
provided, except with your application information. Make a copy of this information a place it in a file at the root of this repository calledappdynamics.cfg
. Note: there is a bug in the AppDynamics wizard that sets the valuessl = (on)
which needs to be changed tossl = on
Running with docker-compose
When running with the docker-compose.yml
file provided ensure the APP_DYNAMICS
argument is set to on
as seen
below:
api:
build:
context: .
dockerfile: docker/Dockerfile
args:
APP_DYNAMICS: 'on'
Running the command below will build the docker image with all the AppDynamics config included
docker-compose -f docker-compose.yml build
This image can then be run locally using the docker-compose up
command as seen below
docker-compose -f docker-compose.yml up
Additional Settings
If you need additional AppDynamics setup options you can find the other environment variables you can set here.