dynatrace-oss / OneAgent-SDK-Python-AutoInstrumentation

autodynatrace, a python library that implements automatic instrumentation using the OneAgent SDK for Python
Other
62 stars 28 forks source link

Monitoring AWS Fargate #90

Closed U002686 closed 12 months ago

U002686 commented 12 months ago

Describe the bug Problem performing fargate monitoring. The method chosen was build-time injection, in classic integration. After inserting the settings in the docker file when uploading the container, it shows a warning error in the logs. Consequently, we cannot see the containers in dynatrace.

To Reproduce Steps to reproduce the behavior:

  1. Go to documentation https://www.dynatrace.com/support/help/shortlink/aws-fargate#buildtime.
  2. Click on classic integration.
  3. Scroll down to step 1.
  4. After the configuration, when the container goes up it starts to burst in the log the error: WARNING autodynatrace - init: Could not initialize the OneAgent SDK, AgentState: 1"

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

Screenshot_80

Desktop (please complete the following information):

dlopes7 commented 12 months ago

Please follow the troubleshooting and requirements for the python sdk and the underlying c sdk

Specially around the supported containers (example: can't be alpine)

And please open a ticket with Dynatrace if you still have Agent State 1, after following the requirements and troubleshooting on that page.

This is not an issue with this library, but with the underlying OneAgent not instrumenting the process.