Tracing

Instrumentation

End User Monitoring

Configuration Server

inspectIT Ocelot Demo Application

inspectIT Ocelot Demo

If you would like to check inspectIT Ocelot in action with a demo application, you can use our docker compose example.
We use the distributed version of the Spring PetClinic sample application as the target application in our demo.
To demonstrate the flexibility of the OpenCensus bases inspectIT agent, we provide different demo scenarios covering different monitoring and APM components.

All of the demo scenarios are fully configured with predefined dashboards, so you can get started in 5 minutes.

Note: Before running the demo, you must add the Wavefront host and API token to the .env file in the inspectit-ocelot-demo. Please add the following lines and change the cluster and token according to your Wavefront instance.

Launching the Demo

Pre-requisites: To launch the demo, Docker needs to be installed on your system.
If you are using Docker for Windows or running Docker in a virtual machine, ensure that Docker has at least 4GB main memory assigned.

Change into the inspectit-ocelot-demo/ directory and execute the following command to launch the desired demo scenario (replace [SCENARIO_POSTFIX] with the postfix of the scenario you would like to launch):

$ docker-compose -f docker-compose-[SCENARIO_POSTFIX].yml up

This will start all the Docker containers required for the corresponding demo scenario, including the Petclinic demo application.

You can access the demo application (PetClinic) under http://localhost:8080.
Details on accessing monitoring infrastructure components are listed below, depending on the selected demo scenario.

Starting the Demo on Windows Using WSL

If you want to execute the demo on Windows using the Windows subsystem for linux (WSL), you have to mount your hard drive to the WSL's root directory due to a problem of Docker for Windows and its volume mounting.

For example, mounting your C drive to the root file system can be achieved using the following commands:

Wavefront Demo Scenario

Wavefront is a SaaS-based monitoring and tracing solution. In this demo, we are running a local proxy as a Docker container that is responsible for receiving Zipkin traces and sending them to Wavefront. We're also using Telegraf to poll the Prometheus endpoints on the monitored services and send that data to Wavefront through the proxy.

Changing Agent Configurations

In all demo scenarios the inspectIT Ocelot agents already have their service names and used ports as well as a basic instrumentation set up.
Each scenario uses the inspectIT Ocelot Configuration Server for managing and providing the configuration files to the agents.
The web UI of the configuration server can be accessed via localhost:8090.

The demo starts the following services, of which each is instrumented with an inspectIT Ocelot Agent: