This is a calculator application where individual operations are implemented as microservices in order to demonstrate tracing concepts.
- Go (tested on 1.13)
- Node.JS
Right now, each service runs as a separate process on your machine, so you'll need to have several console windows open.
Client
- Switch to the
web
directory. - Run
npm install
- Run
npm start
Server
- From the root directory, run
go run cmd/<service>/main.go
, where<service>
is the name of the service you wish to run (api
,add
, etc.)
By default, all of the trace data for each service will be output to standard output. In your browser, you'll need to open the JavaScript console to see it; For the Go applications, it'll be in your console.