MyObservability

Trail Setup - Web Applications

Setup easyTravel

Dynatrace provides a sample application called “easyTravel”

To generate heavy load on the application go to the easyTravel launcher and switch to the Black Friday Scenario by clicking on the link “Black Friday”.

Install OneAgent

Ex:

Options:

  1. To set monitoring type use --set-monitoring-mode=fullstack
    • fullstack –> Full stack observability monitoring
    • infra-only –> For infrastructure only
  2. To assign a host to a host group use --set-host-group=MyHostGroup
  3. To set custom host name use --set-host-name=MyHostName or create hostname.conf file in /var/lib/dynatrace/oneagent/agent/config and add the name.
  4. OneAgent Communication endpoint --set-server=https://100.20.10.1:443
  5. Tenant token --set-tenant-token=abcdefghij123456
  6. Network zones: If you have different regions & setup active gate in different regions, if you do not want traffic to travel around the world, set different network zones and use --set-network-zone=your.network.zone
  7. Proxy use --set-proxy=172.1.1.128:8080
  8. Oneagent auto update use --set-auto-update-enabled=true
  9. Custom host metadata use --set-host-property=AppName --set-host-property=Environment=Dev

Custom path

Setup custome Apps

Apache (Linux)

Dynatrace UI

Apache (Docker)

Ex: docker run -dit --name sunil-web -p 8080:80 -v /home/sunil/Desktop/Sunil/website/:/usr/local/apache2/htdocs/ httpd:2.4

Setup Tomcat

Below steps based on Debian based distributions

  1. Generate traffic using watch curl http://localhost:8080/examples/servlets/servlet/helloworldexample
  2. You will notice services & new application in Dynatrace Services & Dynatrace Web applications

Note: All monitoring data is encapsulated in a placeholder application called My web application. If you want to route traffic to different application (Ex: MyWeb) based on domain for Real User Monitoring, follow Application Detection Rules steps


Dynatrace : Main Page