This system implements an Astronomy shop in a set of microservices in different languages with OpenTelemetry enabled, intended to be used as an example of OpenTelemetry instrumentation and observability.
- Source Code: https://github.com/open-telemetry/opentelemetry-demo
- Running it Locally: Instructions
- Running on Kubernetes: Instructions
To run the this demo locally with Tracetest, first clone OpenTelemetry demo repo in your machine in any folder:
git clone https://github.com/open-telemetry/opentelemetry-demo.git
And then, run in that folder:
docker compose up --no-build
After a few minutes, the store should be running normally in your machine, to test it go to a browser and access: http://localhost:8080
Now, to start Tracetest connected with this demo, download the contents of the Running Tracetest with OpenTelemetry store demo in any folder, and then run docker compose up
.
After that, Tracetest will start on http://localhost:11633 and you can start creating tests.
- Add item into shopping cart: Simulate a user choosing an item and adding it to the shopping cart.
- Check shopping cart content: Simulate a user choosing different products and checking the shopping cart later.
- Checkout: Simulates a user choosing a product and later doing a checkout of that product, with billing and shipping info.
- Get recommended products: Simulates a user querying for recommended products.
This demonstration environment consists of a series of microservices, handling each aspect of the store, such as Product Catalog, Payment, Currency, etc.
A detailed description of these services can be seen here and the architecture diagrams can be seen here.