Comments (1)
Here are the modifications I made to get the Composefile to interact with the Dynatrace Server from Dynatrace-AppMon-Docker
. With these modifications, Easy Travel data is logged in Dynatrace. Hope it helps.
- External Network
dynatracedocker_appmon
(in my case this is the network created by the Dynatrace Server Compose stack). - External Volume
dynatracedocker_dthome
(I modified Dynatrace Compose file to create Docker Volumes per the latest versions of Docker). - Service names match host names and container names (otherwise I was getting
getaddrinfo host not found
errors.
version: "3.0"
services:
easytravel-mongodb:
hostname: easytravel-mongodb
container_name: easytravel-mongodb
image: "dynatrace/easytravel-mongodb"
ports:
- 27017
- 28017
easytravel-backend:
hostname: easytravel-backend
container_name: easytravel-backend
image: "dynatrace/easytravel-backend"
ports:
- 8080
links:
- easytravel-mongodb
volumes:
- dynatracedocker_dthome:/dynatrace
environment:
CATALINA_OPTS: "-agentpath:/dynatrace/agent/lib64/libdtagent.so=name=BusinessBackend_easyTravel,collector=dtcollector"
ET_DATABASE_LOCATION: "easytravel-mongodb:27017"
easytravel-frontend:
hostname: easytravel-frontend
container_name: easytravel-frontend
image: "dynatrace/easytravel-frontend"
ports:
- 8080
links:
- easytravel-backend
- easytravel-mongodb
volumes:
- dynatracedocker_dthome:/dynatrace
environment:
CATALINA_OPTS: "-agentpath:/dynatrace/agent/lib64/libdtagent.so=name=CustomerFrontend_easyTravel,collector=dtcollector"
ET_BACKEND_URL: "http://easytravel-backend:8080"
easytravel-www:
hostname: easytravel-www
container_name: easytravel-www
image: "dynatrace/easytravel-nginx"
ports:
- 80
links:
- easytravel-frontend
- easytravel-backend
volumes:
- dynatracedocker_dthome:/dynatrace
environment:
ET_FRONTEND_LOCATION: "easytravel-frontend:8080"
ET_BACKEND_LOCATION: "easytravel-backend:8080"
DT_AGENT_NAME: "WebServer_easyTravel"
DT_AGENT_COLLECTOR: "dtcollector"
LD_PRELOAD: "/dynatrace/agent/lib64/libdtagent.so"
command: sh -c "/dynatrace/run-wsagent.sh && /run-process.sh"
loadgen:
container_name: loadgen
image: "dynatrace/easytravel-loadgen"
links:
- easytravel-backend
- easytravel-frontend
- easytravel-www
environment:
ET_FRONTEND_URL: "http://easytravel-www:80"
ET_BACKEND_URL: "http://easytravel-www:8080"
ET_PROBLEMS: "BadCacheSynchronization,CPULoad,DatabaseCleanup,DatabaseSlowdown,FetchSizeTooSmall,JourneySearchError404,JourneySearchError500,LoginProblems,MobileErrors,TravellersOptionBox"
networks:
default:
external:
name: dynatracedocker_appmon
volumes:
dynatracedocker_dthome:
external: true
from easytravel-docker.
Related Issues (9)
- Control Loadgen
- Unable to build mongo image
- RFE: Make Nginx Access Log Configurable via Environment Variable
- Readme: Rotten Confluence URL
- Dynatrace oneAgent
- HTTP 400 Errors due to nginx configuration
- Persistent Hourly Authentication and CPU problems when ET_PROBLEMS are disabled HOT 2
- mongodb exited with code 100 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easytravel-docker.