-
Notifications
You must be signed in to change notification settings - Fork 0
Jaeger Recipe
Cnaik edited this page Aug 17, 2018
·
7 revisions
The instructions provided below specify the steps to build Jaeger version 1.6.0 on Linux on IBM Z for the following distributions:
- RHEL (7.3, 7.4, 7.5)
- SLES (12 SP3)
- Ubuntu (16.04, 18.04)
General Notes:
-
When following the steps below please use a standard permission user unless otherwise specified.
-
A directory
/<source_root>/
will be referred to in these instructions, this is a temporary writeable directory anywhere you'd like to place it.
-
RHEL (7.3, 7.4, 7.5)
sudo yum install -y git make wget
-
SLES (12 SP3)
sudo zypper install -y git make wget
-
Ubuntu (16.04)
sudo apt-get update sudo apt-get install -y git make wget
-
Ubuntu (18.04)
sudo apt-get update sudo apt-get install -y git make wget golang-1.10
-
Install Go (RHEL, SLES, Ubuntu 16.04 Only)
Follow the Go build instructions to install Golang.
-
Install nodejs
cd /<source_root>/
wget https://nodejs.org/dist/v8.11.3/node-v8.11.3-linux-s390x.tar.gz
tar -xvf node-v8.11.3-linux-s390x.tar.gz
export PATH=/home/test/node-v8.11.3-linux-s390x/bin:$PATH
- Install yarn
npm install -g yarn
cd /<source_root>/
export GOPATH=/<source_root>/
export PATH=$GOPATH/bin:$PATH
export PATH=/usr/lib/go-1.10/bin:$PATH: ### for Ubuntu 18.04 only
cd /<source_root>/
mkdir -p $GOPATH/src/github.com/jaegertracing
cd $GOPATH/src/github.com/jaegertracing
git clone https://github.com/jaegertracing/jaeger.git
cd jaeger/
git checkout v1.6.0
make install-glide
git submodule update --init --recursive
glide install
make build_ui
@@ -29,7 +29,7 @@ ALL_SRC := $(shell find . -name "*.go" | \
# ALL_PKGS is used with 'go cover'
ALL_PKGS := $(shell go list $(sort $(dir $(ALL_SRC))))
-RACE=-race
+RACE=
GOTEST=go test -v $(RACE)
GOLINT=golint
GOVET=go vet
make tests
cd $GOPATH/src/github.com/jaegertracing/jaeger
go run -tags ui ./cmd/standalone/main.go &
cd examples/hotrod
go run ./main.go all &
- Open
http://<ip_address>:16686
in your browser to access Jaeger UI. - Open
http://<ip_address>:8080
in your browser to access HotR.O.D. application UI.
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING.md