http

module
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0

README

HTTP Client-Server Example

An HTTP client connects to an HTTP server. They both generate span information to stdout. These instructions expect you have docker-compose installed.

Bring up the http-server and http-client services to run the example:

docker-compose up --detach http-server http-client

The http-client service sends just one HTTP request to http-server and then exits. View the span generated to stdout in the logs:

docker-compose logs http-client

View the span generated by http-server in the logs:

docker-compose logs http-server

Shut down the services when you are finished with the example:

docker-compose down

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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