examples

command
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

README

example

Prerequisites

  • Docker
  • Docker compose

setting up environment

To run the full example we need to start jaeger and prometheus. We can startup both of them using docker-compose with the following command.

docker-compose up -d

To tear down the above just:

docker-compose down

running the example

just run (within the examples folder):

go run main.go

and the use curl to send a request:

curl -i -H "Content-Type: application/json" http://localhost:50000

After that head over to jaeger and prometheus.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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