mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
cfe2b09c31
* Bump google.golang.org/grpc from 1.30.0 to 1.31.0 in /exporters/stdout Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.30.0 to 1.31.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.30.0...v1.31.0) Signed-off-by: dependabot[bot] <support@github.com> * Auto-fix go.sum changes in dependent modules Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> |
||
---|---|---|
.. | ||
client | ||
server | ||
docker-compose.yml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
README.md |
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