Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynatrace 7.1 Images #26

Open
rlees85 opened this issue Jun 21, 2018 · 7 comments
Open

Dynatrace 7.1 Images #26

rlees85 opened this issue Jun 21, 2018 · 7 comments

Comments

@rlees85
Copy link

rlees85 commented Jun 21, 2018

As Dynatrace AppMon 7.1 was released in April it would be nice to have a Docker image for the Dynatrace Collector (version 7.1).

Edit: Just realised this repository is for more than just the collector. It also applies to dynatrace/agent, dynatrace/server, etc.

@rlees85 rlees85 changed the title Dynatrace Collector 7.1 Image Dynatrace 7.1 Images Jun 21, 2018
@amit4aws
Copy link

@rlees85 have you ever had successfully installing/configuring and monitoring the containers via AppMon-Docker ? If yes, can you please provide some guidance?

@rlees85
Copy link
Author

rlees85 commented Jun 24, 2018

@kumar4sun we are using Kubernetes - and I followed these instructions:

https://www.dynatrace.com/support/doc/appmon/application-monitoring/monitor-specific-applications/monitor-docker-apps/monitor-dockerized-apps-with-appmon-kubernetes-and-openshift/

The only difference is that for the Java agents, I used the dynatrace/agent image as an initContainer, to load the binaries into a shared volume with the Java application.

Its surprisingly easy, though I am still to tackle Nginx....

@amit4aws
Copy link

@rlees85 i am struggling to bring up app mon on docker. I have containerized microservices running on docker which i want to instrument. I have use Appmon on standalone app on JBOSS and very comfortable with it. However had no luck with Docker. Will you be able to assist me with the setup?

@rlees85
Copy link
Author

rlees85 commented Mar 14, 2020

I've never used JBOSS, but assume you'd normally instrument it by adding the dynatrace AppMon library to the java command line?

If so I might be able to help, but probably won't be able to provide code as this was a while ago now....

@amit4aws
Copy link

amit4aws commented Mar 14, 2020 via email

@rlees85
Copy link
Author

rlees85 commented Mar 18, 2020

  1. I never really had this problem, it just 'worked'. Are you using a custom certificate on the server? If so you'd need to find out how to make the collector trust it, as Docker containers don't mount trusted CA certificates by default and I would imagine the Dynatrace collector would use a Java key store anyway. If you are using the default Dynatrace certificate you'd need to raise a support ticket probably.

  2. ^^

  3. Sounds related again, I am pretty sure we never disabled the SSL ports.

  4. I assume springboot apps are called using java? If so this is how we did it - assuming you are using Kubernetes:

Add an init_container to your springboot app deployment. The init_container runs the dynatrace/agent image and basically just copies the agent from this image into an empty_dir volume. It does this by overriding command to just run cp.

Your main container then mounts the same empty_dir volume and can load the agent using the -agent-path=/shared-volume/path/to/appmon.so parameter in your java command.

Feel free to paste your deployment YAML here and I can show you what changes need to be made (or send to me directly if you can't post it public). I don't have a working example here due to all the code we had to run AppMon being long-gone.

@gbc921
Copy link

gbc921 commented Mar 22, 2020

@rlees85 and @kumar4sun the SSL errors that you are facing are probably related to the SSL certificates of AppMon being expired. Please upgrade AppMon or fix it by this link.

However, I also strong recommend to change to Dynatrace (instead of AppMon) to monitor this, specially containers apps.
It is so much easier to install (no need to change the image, just install on the host or through Kubernetes Operator) and provide so much more value with the built-in Artificial Intelligence (Davis) that I think you can check more details in the link below:

Tks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants