hotrod

command
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

README

Hot R.O.D. - Rides on Demand

中文版README

This is a demo application that consists of several microservices and illustrates the use of the OpenTracing API. It can be run standalone, but requires Jaeger backend to view the traces. A tutorial / walkthough is available:

Features

  • View request timeline & errors, understand how the app works
  • Find sources of latency, lack of concurrency

Running

Run Jaeger Backend

An all-in-one Jaeger backend is packaged as a Docker container with in-memory storage.

docker run -d -p6831:6831/udp -p16686:16686 jaegertracing/all-in-one:latest

Jaeger UI can be accessed at http://localhost:16686.

Run HotROD Application
mkdir -p $GOPATH/src/github.com/jaegertracing
cd $GOPATH/src/github.com/jaegertracing
git clone https://github.com/aliyun/aliyun-log-jaeger.git jaeger
cd jaeger
make install
cd examples/hotrod
go run ./main.go all

Then open http://127.0.0.1:8080

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
log
services
driver/thrift-gen/driver
Package driver is generated code used to make or handle TChannel calls using Thrift.
Package driver is generated code used to make or handle TChannel calls using Thrift.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL