The demo application is an application provided by the OpenTelemetry project and can be used as a showcase to see OpenTelemetry.
The application itself simulates a web shop using currently 15 different services instrumented with more than 10 different programming languages. It uses a load generator (Locust) to continuously sends requests imitating realistic user shopping flows to the frontend.
You can run the demo application on Docker and Kubernetes.
The architecture of the application can be illustrated like this:
Service Roles:
Scenario
One of the services included in the demo application, is the featureflagservice. This is a CRUD feature flag service that we can use to demonstrate various scenarios like fault injection & how to emit telemetry from a feature flag reliant service.
We can browse to the UI of the service on http://localhost:8080/feature/ and enable one or more feature flags to control failure conditions, and then use use a tool of our choice that can help us to diagnose the issue and determine the root cause.
Setup:
git clone https://github.com/open-telemetry/opentelemetry-demo.git
cd opentelemetry-demo/
docker compose up --no-build
Links:
WebStore:
Grafana:
Jaeger:
Next Chapter: Collector Configuration
Main Page: Click Here