# README
HTTP Client-Server example
An HTTP server and client instrumented to send traces to Google Cloud Trace.
In order to run this example, you'll need to
- Create a GCP project
- Enable billing
- Enable the Cloud Trace API
- Obtain authentication credentials
- If you run the code on GCE/GKE/Cloud Run, it will receive the necessary authentication credentials automatically.
- If you run in Cloud Shell or outside of GCP, you'll need to have it authenticate as a service account.
- In one terminal, run the server
$ go run ./server
- In another terminal on the same host, run the client
$ go run ./client
- Open Google Cloud Trace and examine the trace that was recorded.