You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enabling misspell and goimports in golangci-lint allows a bit of
simplification of tools.go / Makefile.
The linters enabled locally also complained about the markdown in
README.md a little, so I fixed those complaints.
I also enabled auto-fix mode in golangci-lint so that it will just
fix any lint issues it runs across (which is how goimports/misspell)
was being used.
misspell still needs to be included in tools.go unless we decide that
we didn't want it to run on markdown files.
This is a prototype *intended to be modified* into the opentelemetry-go implementation. The `api` directory here should be used as a starting point to introduce a new OpenTelemetry exporter, whereas the existing `exporter/observer` streaming model should be help verify the api
7
+
This is a prototype *intended to be modified* into the opentelemetry-go implementation. The `api` directory here should be used as a starting point to introduce a new OpenTelemetry exporter, whereas the existing `exporter/observer` streaming model should be help verify the api
6
8
7
9
To run the examples, first build the stderr tracer plugin (requires Linux or OS X):
8
10
9
-
```
11
+
```console
10
12
(cd ./exporter/stdout/plugin && make)
11
13
(cd ./exporter/spanlog/plugin && make)
12
14
```
13
15
14
-
Then set the `OPENTELEMETRY_LIB` environment variable to the .so file in that directory, e.g.,
16
+
Then set the `OPENTELEMETRY_LIB` environment variable to the .so file in that directory, e.g.,
15
17
16
-
```
18
+
```console
17
19
OPENTELEMETRY_LIB=./exporter/stderr/plugin/stderr.so go run ./example/server/server.go
18
20
```
19
21
20
22
and
21
23
22
-
```
24
+
```console
23
25
OPENTELEMETRY_LIB=./exporter/spanlog/plugin/spanlog.so go run ./example/client/client.go
0 commit comments