Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/musobarlab/jaeger-example
Distributed Tracing Example with Jaeger
https://github.com/musobarlab/jaeger-example
go golang jaeger-go jaegertracing
Last synced: 8 days ago
JSON representation
Distributed Tracing Example with Jaeger
- Host: GitHub
- URL: https://github.com/musobarlab/jaeger-example
- Owner: musobarlab
- Created: 2019-05-17T04:15:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-18T13:33:32.000Z (over 5 years ago)
- Last Synced: 2024-11-09T04:32:06.801Z (2 months ago)
- Topics: go, golang, jaeger-go, jaegertracing
- Language: Go
- Size: 8.79 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Distributed Tracing Example with Jaeger
- https://opentracing.io/
- https://www.jaegertracing.io/#### Getting started
Clone this project
```shell
$ 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)
```shell
$ 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
```shell
$ cd serviceone
$ go run main.go
```- microservice two
```shell
$ cd servicetwo
$ go run main.go
```Run our client app, in this example we will search product with name `Nokia`
```shell
$ cd client
$ go run main.go Nokia
```Refresh the Jaeger UI http://127.0.0.1:16686, and you will see the tracing output