Splunk AppDynamics

Splunk AppDynamics Python Agent Warning

Osama_Abbas1
Explorer

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.

Labels (2)
0 Karma

PrewinThomas
Motivator

@Osama_Abbas1 

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!

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...