jason 075d766964 first | há 3 anos atrás | |
---|---|---|
.. | ||
helloworld_client | há 3 anos atrás | |
helloworld_server | há 3 anos atrás | |
README.md | há 3 anos atrás |
This example uses:
Debugging exporters to print stats and traces to stdout.
$ go get go.opencensus.io/examples/http/...
First, run the server:
$ go run $(go env GOPATH)/src/go.opencensus.io/examples/http/helloworld_server/main.go
Then, run the client:
$ go run $(go env GOPATH)/src/go.opencensus.io/examples/http/helloworld_client/main.go
You will see traces and stats exported on the stdout. You can use one of the exporters to upload collected data to the backend of your choice.
You can also see the z-pages provided from the server: