Hi,
I am using AppD SaaS to monitor an in-house Python-based web application (Flask-based). I have successfully deployed the Python app agent and added the config to supervisor and can get the metrics to the controller properly. However, I get this in the supervisor error log file:
...<output_truncated>
Cannot fetch aiohttp framework version
Cannot fetch aiohttp framework version
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.singularity.ee.util.memory.calc.FieldCache (file:/path/to/.venv/lib/python3.12/site-packages/appdynamics_bindeps/proxy/lib/appagent-boot.jar) to field java.util.Hashtable.table
WARNING: Please consider reporting this to the maintainers of com.singularity.ee.util.memory.calc.FieldCache
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Cannot fetch aiohttp framework version
Cannot fetch aiohttp framework version
...<output_truncated>Don't know what should be done in such case.
Thanks to help.
As long as you see Flask metrics in the Controller, i think you can ignore this warnings.
Warning highlights the agent tries to detect if your app is running on aiohttp, Since you’re using Flask, it just log the warning.
Regards,
Prewin
If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!