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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...