1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-04 09:43:23 +02:00
OpenTelemetry Go API and SDK https://opentelemetry.io/
Go to file
Krzesimir Nowak 670b0365d8 Make tag.Map a concrete type. (#89)
This is to make tag.Map an immutable type, so it is safe to use
concurrently. The safety is not yet fully achieved because of the
functions returning contents of the map (Value and Foreach). The
functions give callers an access to core.Value objects, which contain
a byte slice, which has pointer like semantics. So to avoid accidental
changes, we will need to copy the value if it is of BYTES type.

Fixes #59
2019-08-23 09:01:52 -07:00
.circleci Add Circle ci (#41) 2019-07-02 16:21:24 -07:00
api Make tag.Map a concrete type. (#89) 2019-08-23 09:01:52 -07:00
example Create separate go modules for examples (#26) 2019-08-13 16:02:21 -07:00
experimental/streaming Make tag.Map a concrete type. (#89) 2019-08-23 09:01:52 -07:00
plugin/httptrace replace import with vanity url go.opentelemetry.io. (#54) 2019-07-15 14:49:21 -07:00
sdk Make tag.Map a concrete type. (#89) 2019-08-23 09:01:52 -07:00
.gitignore Add Circle ci (#41) 2019-07-02 16:21:24 -07:00
.golangci.yml Misc Makefile and README.md updates (#78) 2019-08-05 13:58:24 -07:00
CODEOWNERS Add jmacd as a code owner (#42) 2019-07-02 14:03:36 -07:00
go.mod Create separate go modules for examples (#26) 2019-08-13 16:02:21 -07:00
go.sum Create separate go modules for examples (#26) 2019-08-13 16:02:21 -07:00
LICENSE Initial commit 2019-05-16 12:05:27 -07:00
Makefile Run go generate during make and make sure that generated files are in sync in CI (#101) 2019-08-22 11:16:51 -07:00
README.md Update some paths in README.md (#88) 2019-08-12 15:46:56 -07:00
tools.go Run go generate during make and make sure that generated files are in sync in CI (#101) 2019-08-22 11:16:51 -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