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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...