mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-18 03:22:12 +02:00
9cdfdb2d3a
* Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.6.1. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.6.1) Signed-off-by: dependabot[bot] <support@github.com> * Update go.mod * math.Inf(1)+math.Inf(-1)=NaN Math is hard * Remove indirect transitive dependency * Auto-fix go.sum changes in dependent modules Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io> Co-authored-by: Evan Torrie <evantorrie@users.noreply.github.com> Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
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