Skip to content

This repository will be used in Effective Distributed Tracing Workshop in SREcon19 EMEA. It will NOT be maintained afterwards.

Notifications You must be signed in to change notification settings

pc-alves/sre-con-19-effective-distributed-tracing-workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SRECon Workshop App Bundle

This repository holds an example application that is used to learn the basic concepts of OpenTracing.

The application itself is a web application with a form to add a product (represented by SKU) to the cart.

It is self contained and provides an additional remote API to itself:

  • A Cart API on port :8085
  • The web application runs on port :8087.

Running the application

Golang version

Change current folder to golang.

$ go build -o ot101 ./... && AVAILABILITY_ZONE=<insert AZ value here> INSTANCE_ID=<insert a value here to identify your instance> ./ot101

Java Version

Change current folder to java.

$ mvn spring-boot:run

Docker

In each folder you can find make tasks to help you build and run application:

$ make docker.run

And then point your browser at http://localhost:8087

Add to cart form

You have to enter a string as the SKU to add to the cart and press submit. If there's enough stock you'll get a success message or a failure message otherwise. The stock availability is randomized and can be 0.

About

This repository will be used in Effective Distributed Tracing Workshop in SREcon19 EMEA. It will NOT be maintained afterwards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published