Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
Note: We don't want to compile a JS app for every environment, we like having one build that can be deployed anywhere.
So that doesn't work with AppDynamics because you must put the AppKey in the header of your index file.
What I would like to happen:
1. add AppDynamic snippit to index.html header. do all the initial loading and setup but don't transfer any data back to AppDynamic central, just store it.
2. SPA finished loading and calls /spa/config REST service to pull config, including EUM_APP_KEY.
2. Once EUM_APP_KEY is set, start transmitting data, both stored and live.
Is this currently possible? If not, is it possible to update current scripts?
Currently we don't support modifying our JS agent files as it can lead to unexpected errrors on the page and can even effect the monitoring as well.
From your use case I can understand that for all your three environments, i.e. Dev, QA and Prod there is a need to get JS agents with different app keys, so instead of doing that at runtime, can you just use the same agent code with different app key as described in our manual injection piece and then see if that works?
You can even customize each JS agent for different environment as mentioned below:
Let us know is this helps.