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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...