Appdynamics / config-assessment-tool

This project aims to provide a single source of truth for performing AppDynamics Health Checks.
Other
19 stars 17 forks source link

Questions around limitations #3

Open JoeyHendricks opened 2 years ago

JoeyHendricks commented 2 years ago

Hi @bhjelmar ,

Great tool this will be handy as we move further into to automating AppDynamics deployments! I don't have an direct issue about this project but I have an question though as discussion is not enabled I am shooting in an issue. You mention that the API has a limitation "The API to directly find snapshots containing data collectors of type Session Key or HTTP Header does not work".

What does this mean? Will this tool contain the functionality to export snapshots out of AppDynamics in future? Currently I am looking for a way to export collected snapshots out of AppDynamics directly using pure Python that way I can integrate directly with AppDynamics from my own internal framework without having to interact with Dexter.

Or am I bound to use Dexter, I love Dexter but I would rather have an direct API like a Python package to achieve rich exports out of AppDynamics? In my case that would click a bit better into my entire automation framework.

bhjelmar commented 2 years ago

Hey Joey,

There is an API in AppD to filter snapshots containing specific Data Collectors. This API works on filtering snapshots with Data Collectors of specific types only (e.g. Cookies, POJO, etc..), not of type Session Key or HTTP Header. What I am doing with this API is just getting the top 1 result. In other words, I am just looking for a boolean true or false if there are any snapshots which contain a specific Data Collector. So to be clear, I'm not really extracting any snapshots from AppD at all currently.

Two considerations I need to weigh are:

  1. The cost of incorporating time intensive APIs into the solution
  2. The cognitive overhead on the end user of adding configuration dials and knobs to fiddle with

My vision currently is in a tool which exposes minimal (ideally 0) configuration to the end user, and generates useful reports out of the box at lightning speed. I say this in contrast to Dexter, which was many great things but "simple to use" and "fast" do not come to mind. Clearly adding a config option to enable/disable snapshot extraction isn't a big deal, but it's a slippery slope 🙂.

So, I'd love to hear your use case! I might add support for this in the future, but it would have to make sense within the context of creating actionable/useful reports for users. Keeping in mind I am not looking for this tool to just an extraction/data warehousing tool.

Brad,