1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-02-07 13:31:42 +02:00
rghetia 521a6c40f1
move span, trace and event implementation to sdk. (#27)
* move event to sdk.

* move trace and span implementation to sdk.
- also added noop implementation of span and trace.

* fix review comments.
2019-06-26 22:03:09 -07:00
2019-05-16 13:36:58 -07:00
2019-05-16 12:05:27 -07:00
2019-06-18 17:09:49 -07:00
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
Description
Languages
Go 99.8%
Makefile 0.1%