1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-01 22:09:57 +02:00
OpenTelemetry Go API and SDK https://opentelemetry.io/
Go to file
rghetia 0f32efcdaa
Trace sdk (#65)
* trace sdk initial commit.

* fix imports and comments.

* remove tracestate

* split trace.go

* add attribute over limit test.

* add comments and restructure span.go and tracer.go

* refactor MessageEvent

* defer unlock

* some more cleanup in span.go

* rename *MessageEvent* to *Event*

* cleanup comments in trace_test.go

* fix typos.

* return full string ID for traceID and spanID.
2019-08-02 13:52:55 -07:00
.circleci Add Circle ci (#41) 2019-07-02 16:21:24 -07:00
api Trace sdk (#65) 2019-08-02 13:52:55 -07:00
example Restore the experimental/streaming SDK implementation (#55) 2019-07-17 13:59:53 -07:00
experimental/streaming Restore the experimental/streaming SDK implementation (#55) 2019-07-17 13:59:53 -07:00
plugin/httptrace replace import with vanity url go.opentelemetry.io. (#54) 2019-07-15 14:49:21 -07:00
sdk Trace sdk (#65) 2019-08-02 13:52:55 -07:00
.gitignore Add Circle ci (#41) 2019-07-02 16:21:24 -07:00
.golangci.yml Add goimports and golangci-lint (#17) 2019-06-18 17:09:49 -07:00
CODEOWNERS Add jmacd as a code owner (#42) 2019-07-02 14:03:36 -07:00
go.mod Trace sdk (#65) 2019-08-02 13:52:55 -07:00
go.sum Trace sdk (#65) 2019-08-02 13:52:55 -07:00
LICENSE Initial commit 2019-05-16 12:05:27 -07:00
Makefile add misspell tool fix common spelling mistakes. (#69) 2019-08-02 10:44:32 -07:00
README.md add misspell tool fix common spelling mistakes. (#69) 2019-08-02 10:44:32 -07:00
tools.go add misspell tool fix common spelling mistakes. (#69) 2019-08-02 10:44:32 -07:00

Circle CI Docs Go Report Card

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

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