Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-22-2021 07:36 AM
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?
Dale Chapman
Solved! Go to Solution.
10-23-2021 01:28 AM
Hi Dale
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.
Ciao
10-25-2021 05:28 AM
I have tried your idea and I got a surprise. The REST call wasn't made because the javascript in the UI indicated that the event was already archived. The documentation does not indicate that the APPLICATION_DEPLOYED event is automatically archived but it does indicate that the APPLICATION_CONFIG_CHANGED event is.
So, now my question is:
Does the APPLICATION_DEPLOYED event get automatically archived?
If so, my issue has been resolved.
Thanks!
Dale Chapman
10-25-2021 05:45 AM
Awesome Dale
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.
Ciao
10-25-2021 11:07 AM
Hi @Dale.Chapman,
If you share the Documentation link, I will have the Docs team look at it.
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
10-28-2021 09:47 AM
The location where I saw this data is here:
https://docs.appdynamics.com/21.2/en/appdynamics-essentials/monitor-events/events-reference
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.
Thanks.
Dale Chapman
10-28-2021 10:35 AM
Hi @Dale.Chapman,
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.
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form