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.
I am in the process of integrating AppDynamics with our build tool. I am going to add a step in the build to create an APPLICATION_DEPLOYMENT event whenever there is a code deployment to the production server. I have experimented with the event generation API and have it working. The API documentation states that events have a lifespan of two weeks unless the event is archived. Is there a way to have an event automatically archived as we want to have deployment events last for a year?
Is there another way to capture what we need?
Solved! Go to Solution.
I don't believe there is an official API for it, that I know of.
To get the API that is being called just use developer tools in your browser, and archive an event. You will see a specific API that's called, with an input of the EventID that is being archived.
You can then just build that into your process, when you create a deployment event, to immediately archive it.
So, now my question is:
Does the APPLICATION_DEPLOYED event get automatically archived?
If so, my issue has been resolved.
Easiest way would be to check if you can archive a "Normal Event", to see if the API works at all.
But yes, best would be to check with AppD Support if that is the case. Might just be an omission from the documentation that its auto archived.
The location where I saw this data is here:
Look for APPLICATION_CONFIG_CHANGE
There is a blue box below the description that states that this type of event is automatically archived.
Just below it, there is an entry for APPLICATION_DEPLOYMENT event. There is no equivalent blue box below it.
I have created a ticket for the Docs team to look into it. Did you happen to see @Mario.Morelli response? If not, please check it out and see if his info helped out at all.
Ryan, AppDynamics Community Manager