Skip to content

Latest commit

 

History

History

the-coffee-bar

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

The Coffee Bar

Italian Bar with delicious coffee and cakes. Built using multiple technologies like NodeJS, Ruby, Python and .Net Core. It's a simple application where you can order coffee or some cakes (the-coffee-bar-frontend). On order request is sent to the-coffee-bar service. Based on data, order is passed to the-coffee-machine which is preparing coffee using machine-svc, coffee-svc and water-svc. All money transactions are handled by the-cashdesk service which is communicating with calculator-svc and postgres database.

All services are instrumented using OpenTelemetry solution.

The Coffee Bar application repository can be found here.

Prerequisites

Make sure to finish the prerequisites first. As a result of that you should have your SUMOLOGIC_TOKEN env variable exported:

export SUMOLOGIC_TOKEN=your-sumologic-token

Additionally you will need Docker and Docker Compose installed on your machine:

The Coffee Bar demo

  1. Run docker-compose up
  2. Navigate to http://localhost:3000 and make some order
  3. Go to Sumo Logic Web App and find your order in Traces view
  4. View application logs in Logs view or drill down to the specific service log directly from Trace view clicking on the span details and Open logs tagged with ...