1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-02-01 13:07:51 +02:00
Krzesimir Nowak 3fc6025071 Allow setting the name of the span after starting it (#102)
* Allow setting the name of the span after starting it

* Add test for setting the name of the span
2019-08-26 11:53:12 -07:00
2019-07-02 16:21:24 -07:00
2019-07-02 16:21:24 -07:00
2019-08-26 09:41:15 -07:00
2019-07-02 14:03:36 -07:00
2019-05-16 12:05:27 -07:00

OpenTelemetry-Go

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 ./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.,

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

and

OPENTELEMETRY_LIB=./experimental/streaming/exporter/spanlog/plugin/spanlog.so go run ./example/http/client/client.go
Languages
Go 99.8%
Makefile 0.1%