1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-05-16 09:18:55 +02:00

Update some paths in README.md (#88)

Some code got moved, so reflect that in the README.
This commit is contained in:
Krzesimir Nowak
2019-08-13 00:46:56 +02:00
committed by rghetia
parent 0ce21a987b
commit 6c2b769f8c
+4 -4
View File
@@ -9,18 +9,18 @@ This is a prototype *intended to be modified* into the opentelemetry-go implemen
To run the examples, first build the stderr tracer plugin (requires Linux or OS X):
```console
(cd ./exporter/stdout/plugin && make)
(cd ./exporter/spanlog/plugin && make)
(cd ./experimental/streaming/exporter/stdout/plugin && make)
(cd ./experimental/streaming/exporter/spanlog/plugin && make)
```
Then set the `OPENTELEMETRY_LIB` environment variable to the .so file in that directory, e.g.,
```console
OPENTELEMETRY_LIB=./exporter/stderr/plugin/stderr.so go run ./example/server/server.go
OPENTELEMETRY_LIB=./experimental/streaming/exporter/stderr/plugin/stderr.so go run ./example/http/server/server.go
```
and
```console
OPENTELEMETRY_LIB=./exporter/spanlog/plugin/spanlog.so go run ./example/client/client.go
OPENTELEMETRY_LIB=./experimental/streaming/exporter/spanlog/plugin/spanlog.so go run ./example/http/client/client.go
```