dynatrace / easytravel-docker Goto Github PK
View Code? Open in Web Editor NEWThe Dynatrace easyTravel Demo Application in Docker.
Home Page: https://community.dynatrace.com/community/display/DL/Demo+Applications+-+easyTravel
License: MIT License
The Dynatrace easyTravel Demo Application in Docker.
Home Page: https://community.dynatrace.com/community/display/DL/Demo+Applications+-+easyTravel
License: MIT License
I'm trying to get the dockerized version of AppMon to work with easyTravel-Docker as per the instructions. I've successfully setup Dynatrace-AppMon-Docker and can run it in docker.
Unfortunately, the command docker-compose -f docker-compose-withDtAppMon.yml up
fails because the links to the AppMon docker setup (networks, volumes) do not match. I've tried porting the configuration file to v3 and fixing the links, but have been unable to get it working.
Any help would be much appreciated.
Thanks,
Martin
Hi,
Mongodb doesn't run correctly. What can I do to fix it?
The logs are here;
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] MongoDB starting : pid=11 port=27017 dbpath=/data/db/easyTravel 64-bit host=easytravel-mongodb
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] db version v3.4.10
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] OpenSSL version: LibreSSL 2.6.5
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] allocator: system
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] modules: none
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] build environment:
mongodb | 2020-03-25T01:55:16.683+0000 I CONTROL [initandlisten] distarch: x86_64
mongodb | 2020-03-25T01:55:16.683+0000 I CONTROL [initandlisten] target_arch: x86_64
mongodb | 2020-03-25T01:55:16.683+0000 I CONTROL [initandlisten] options: { net: { http: { RESTInterfaceEnabled: true, enabled: true } }, storage: { dbPath: "/data/db/easyTravel", mmapv1: { smallFiles: true } } }
mongodb | 2020-03-25T01:55:16.692+0000 I - [initandlisten] Detected data files in /data/db/easyTravel created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
mongodb | 2020-03-25T01:55:16.692+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=2471M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
mongodb | 2020-03-25T01:55:16.701+0000 E STORAGE [initandlisten] WiredTiger error (-31803) [1585101316:701856][11:0x7f21c4d44b50], txn-recover: Recovery failed: WT_NOTFOUND: item not found
mongodb | 2020-03-25T01:55:16.766+0000 I - [initandlisten] Assertion: 28595:-31803: WT_NOTFOUND: item not found src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 276
mongodb | 2020-03-25T01:55:16.823+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 -31803: WT_NOTFOUND: item not found, terminating
mongodb | 2020-03-25T01:55:16.823+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets...
mongodb | 2020-03-25T01:55:16.823+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
mongodb | 2020-03-25T01:55:16.824+0000 I NETWORK [initandlisten] shutdown: going to flush diaglog...
mongodb | 2020-03-25T01:55:16.824+0000 I CONTROL [initandlisten] now exiting
mongodb | 2020-03-25T01:55:16.824+0000 I CONTROL [initandlisten] shutting down with code:100
mongodb exited with code 100
It's not possible to control the amount of requests the loadgenerator is running.
It would be great to have access to the weblauncher interface or something similar to change user behavior while the application is running.
In order to be able to make easyTravel work properly with nginx, I had to make the following change in the nginx configuration:
location / {
+ proxy_set_header Host $http_host;
proxy_pass http://easytravel_frontend;
}
Without that I always got HTTP 400 errors when trying to navigate there.
Nginx Access Logs are configured in nginx.conf. By default, in the configuration used by the Docker images available on Dockerhub have Nginx Access Logs disabled.
https://github.com/Dynatrace/easyTravel-Docker/blob/master/images/nginx/conf/nginx.conf
For those that wish to use the images on Dockerhub (not build their own) and have Nginx Access Logs enabled, it would be helpful if this configuration was controlled through an Environment Variable. Similar to those configurations already referencing an Environment Variable in the nginx.conf file.
upstream easytravelfrontend {
server $ET_FRONTEND_LOCATION;
}
Describe the bug
In the Readme, the hyperlink for "Dynatrace easyTravel" points to a dead Confluence link: https://community.dynatrace.com/community/display/DL/Demo+Applications+-+easyTravel
To Reproduce
Steps to reproduce the behavior:
Desktop:
loadgen:
container_name: loadgen
image: "dynatrace/easytravel-loadgen"
links:
- backend
- frontend
- www
environment:
ET_APM_SERVER_DEFAULT: "${ET_APM_SERVER_DEFAULT}"
ET_FRONTEND_URL: "http://easytravel-www:80"
ET_BACKEND_URL: "http://easytravel-www:8080"
ET_PROBLEMS: ""
ET_PROBLEMS: ""
Every hour there are authentication problems and CPU problems.
Based on this yml config no problems should be present in our easyTravel deployment.
This is conflicting with problems we are manually simulating and remediating
I'm trying to build the images so they can run in a raspberry pi (using docker buildx), and it seems that mongo is no longer in the dependencies of alpine.
I tried using different alpine versions (3.6 - 3.11) as the base image, adding the community repos and the edge ones but without success.
Checking dockerhub the image was built 4 months ago, was this build using a different Dockerfile than the one in this repo?
Hello everybody,
I have the latest version of easyTravel Docker installed. The services are also recognized by the OneAgent, but they can not be monitored. On Dynatrace Hompage is: reboot the service to get more informations. But even after restarting the service or docker, nothing changes.
Many Thanks
Alexander
Describe the bug
Trying to deploy ET on K8s/Openshift, when the nginx revproxy starts it is trying to substitute in-place the environment variables for backend service in the nginx.conf file.
This fails with:
sed: couldn't open temporary file /etc/nginx/sedRjs8rf: Permission denied
Since the startup script tries to modify the nginx.conf which is read-only.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.