Skip to content

musobarlab/jaeger-example

Repository files navigation

Distributed Tracing Example with Jaeger

Getting started

Clone this project

$ git clone https://github.com/musobarlab/jaeger-example.git
$ go get -u

Start Jaeger Agent, Jaeger Collector, Jaeger Query and Storage (we will use Elastic Search)

$ docker-compose up -d elasticsearch
$ docker-compose up

open Jaeger UI http://127.0.0.1:16686

Start our both Microservices server example

  • microservice one
$ cd serviceone
$ go run main.go
  • microservice two
$ cd servicetwo
$ go run main.go

Run our client app, in this example we will search product with name Nokia

$ cd client
$ go run main.go Nokia

Refresh the Jaeger UI http://127.0.0.1:16686, and you will see the tracing output

Releases

No releases published

Packages

No packages published

Languages