0

I have a Python application that uses AppDynamics, that works on Rancher. Everything is ok, no errors of any kind and the data is sent correctly by the agent.

I'm migrating it now to EKS and the agent is not initializing anymore.

I'm seeing in the logs "event": "Exception in agent startup." and finally

in _find_and_load_unlocked\nModuleNotFoundError: No module named 'appdynamics_bindeps'"

I've tried to add this package https://pypi.org/project/appdynamics-bindeps-linux-x64/ In the last version, but nothing is working. The error is the same. The version of AppDynamics that I'm using is 24.11.0.7213 and for appdynamics-bindeps-linux-x64 25.6.0

I'm using Python 3.8 but I've tested also Python 3.9 with the same result.

Also I've played a bit with the annotations of my yaml where I deploy the project since it was giving problems with the telemetry

Currently this is what I have, although I have tested several combinations:

 annotations:
   instrumentation.opentelemetry.io/inject-python: "false"
   instrumentation.opentelemetry.io/inject-java: "false"

What's wrong?

1 Answer 1

0

I fixed this by using the installer of AppDynamics instead of installing it directly in my code. AppDynamics' docker image installs it if it isn't yet, so, the correct dependencies are injected without doing it explicitly

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.