1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-05 22:54:18 +02:00
OpenTelemetry Go API and SDK https://opentelemetry.io/
Go to file
rghetia d6d9786732
rename Log and Logf interface to AddEvent and AddEventf. (#22)
* rename Log and Logf interface to AddEvent and AddEventf.
- also remove log package.

* provide only AddEvent interface to Span
- Event can be created using Event specific interface.

* add var trick for Event interface.
2019-06-25 13:50:46 -07:00
api rename Log and Logf interface to AddEvent and AddEventf. (#22) 2019-06-25 13:50:46 -07:00
example rename Log and Logf interface to AddEvent and AddEventf. (#22) 2019-06-25 13:50:46 -07:00
exporter rename Log and Logf interface to AddEvent and AddEventf. (#22) 2019-06-25 13:50:46 -07:00
plugin/httptrace rename Log and Logf interface to AddEvent and AddEventf. (#22) 2019-06-25 13:50:46 -07:00
.gitignore Add SetStatus, SpanContext and IsRecordingEvent (#12) 2019-06-19 10:44:46 -07:00
.golangci.yml Add goimports and golangci-lint (#17) 2019-06-18 17:09:49 -07:00
CODEOWNERS Update CODEOWNERS 2019-05-16 13:36:58 -07:00
go.mod Add SetStatus, SpanContext and IsRecordingEvent (#12) 2019-06-19 10:44:46 -07:00
go.sum Add SetStatus, SpanContext and IsRecordingEvent (#12) 2019-06-19 10:44:46 -07:00
LICENSE Initial commit 2019-05-16 12:05:27 -07:00
Makefile Add goimports and golangci-lint (#17) 2019-06-18 17:09:49 -07:00
README.md Golang opentelemetry-go draft API (incomplete) (#9) 2019-06-14 11:37:05 -07:00
tools.go Add goimports and golangci-lint (#17) 2019-06-18 17:09:49 -07:00

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, wherease the existing exporter/observer streaming model should be help verify the api

To run the examples, first build the stderr tracer plugin (requires Linux or OS X):

(cd ./exporter/stdout/plugin && make)
(cd ./exporter/spanlog/plugin && make)

Then set the OPENTELEMETRY_LIB environment variable to the .so file in that directory, e.g.,

OPENTELEMETRY_LIB=./exporter/stderr/plugin/stderr.so go run ./example/server/server.go

and

OPENTELEMETRY_LIB=./exporter/spanlog/plugin/spanlog.so go run ./example/client/client.go