go2sky-example

module
v0.0.0-...-5234b9d Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: Apache-2.0

README

go2sky-example

go2sky example, also see go-zipkin-example: https://github.com/iyabchen/go-zipkin-example

how to build

please execute the shell script "build.sh".

./build.sh

how to create docker images

please execute the shell script "create-docker.sh"

./create-docker.sh

how to run docker

  • for svca:

    docker run -d --name go-demo-svca -e SKYWALKING_BACKEND_SERVICE=docker_host_ip:11800 -e SVCA_NAME=go_demo_svca -e SVCA_PORT=18080 -e SVCB_HOST=docker_host_ip -SVCB_PORT=18081 -p 18080:18080 lish/go2sky-demo-svca:0.1
    
  • for svcb:

    docker run -d --name go-demo-svcb -e SKYWALKING_BACKEND_SERVICE=docker_host_ip:11800 -e SVCB_NAME=go_demo_svcb -e SVCB_PORT=18081 -p 18081:18081 lish/go2sky-demo-svcb:0.1
    

TIPS

test result

  • service registry: passed
  • service query: passed
  • topology graph: passed
  • tracing: passed

Directories

Path Synopsis
svca
cmd
svcb
cmd

Jump to

Keyboard shortcuts

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