Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 19-Mar-2021 | - | 540 | 511 | |
attribute/ | H | 19-Mar-2021 | - | 2,259 | 1,527 | |
baggage/ | H | 19-Mar-2021 | - | 180 | 98 | |
bridge/ | H | 19-Mar-2021 | - | 4,288 | 3,246 | |
codes/ | H | 19-Mar-2021 | - | 302 | 206 | |
example/ | H | 19-Mar-2021 | - | 3,420 | 2,903 | |
exporters/ | H | 19-Mar-2021 | - | 42,636 | 35,115 | |
internal/ | H | 19-Mar-2021 | - | 4,327 | 3,081 | |
metric/ | H | 19-Mar-2021 | - | 3,544 | 2,133 | |
oteltest/ | H | 19-Mar-2021 | - | 2,652 | 1,771 | |
propagation/ | H | 19-Mar-2021 | - | 1,392 | 1,041 | |
sdk/ | H | 07-May-2022 | - | 16,548 | 11,084 | |
semconv/ | H | 19-Mar-2021 | - | 1,898 | 1,392 | |
trace/ | H | 19-Mar-2021 | - | 2,516 | 1,841 | |
unit/ | H | 19-Mar-2021 | - | 45 | 8 | |
.gitignore | H A D | 19-Mar-2021 | 293 | 20 | 16 | |
.gitmodules | H A D | 19-Mar-2021 | 147 | 4 | 3 | |
.golangci.yml | H A D | 19-Mar-2021 | 750 | 33 | 29 | |
CHANGELOG.md | H A D | 19-Mar-2021 | 74.4 KiB | 1,189 | 969 | |
CODEOWNERS | H A D | 19-Mar-2021 | 491 | 18 | 15 | |
CONTRIBUTING.md | H A D | 19-Mar-2021 | 11.8 KiB | 381 | 283 | |
LICENSE | H A D | 19-Mar-2021 | 11.1 KiB | 202 | 169 | |
Makefile | H A D | 19-Mar-2021 | 5.6 KiB | 180 | 132 | |
Makefile.protos | H A D | 19-Mar-2021 | 4.8 KiB | 130 | 67 | |
README.md | H A D | 19-Mar-2021 | 4 KiB | 93 | 69 | |
RELEASING.md | H A D | 19-Mar-2021 | 2.9 KiB | 82 | 53 | |
VERSIONING.md | H A D | 19-Mar-2021 | 10.4 KiB | 218 | 189 | |
doc.go | H A D | 19-Mar-2021 | 1.7 KiB | 39 | 1 | |
error_handler.go | H A D | 19-Mar-2021 | 825 | 23 | 4 | |
get_main_pkgs.sh | H A D | 19-Mar-2021 | 1.2 KiB | 42 | 17 | |
go.mod | H A D | 19-Mar-2021 | 1.8 KiB | 56 | 31 | |
go.sum | H A D | 19-Mar-2021 | 1.4 KiB | 16 | 15 | |
handler.go | H A D | 19-Mar-2021 | 2.5 KiB | 90 | 48 | |
handler_test.go | H A D | 19-Mar-2021 | 3.3 KiB | 144 | 98 | |
pre_release.sh | H A D | 19-Mar-2021 | 2.5 KiB | 96 | 57 | |
propagation.go | H A D | 19-Mar-2021 | 1.1 KiB | 32 | 11 | |
tag.sh | H A D | 19-Mar-2021 | 4.2 KiB | 179 | 122 | |
trace.go | H A D | 19-Mar-2021 | 1.5 KiB | 45 | 14 | |
trace_test.go | H A D | 19-Mar-2021 | 1.2 KiB | 44 | 22 | |
verify_examples.sh | H A D | 19-Mar-2021 | 2.3 KiB | 86 | 48 | |
version.go | H A D | 19-Mar-2021 | 759 | 21 | 4 |
README.md
1# OpenTelemetry-Go 2 3[![CI](https://github.com/open-telemetry/opentelemetry-go/workflows/ci/badge.svg)](https://github.com/open-telemetry/opentelemetry-go/actions?query=workflow%3Aci+branch%3Amain) 4[![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel)](https://pkg.go.dev/go.opentelemetry.io/otel) 5[![Go Report Card](https://goreportcard.com/badge/go.opentelemetry.io/otel)](https://goreportcard.com/report/go.opentelemetry.io/otel) 6[![Slack](https://img.shields.io/badge/slack-@cncf/otel--go-brightgreen.svg?logo=slack)](https://cloud-native.slack.com/archives/C01NPAXACKT) 7 8 9The Go [OpenTelemetry](https://opentelemetry.io/) implementation. 10 11## Project Status 12 13**Warning**: this project is currently in a pre-GA phase. Backwards 14incompatible changes may be introduced in subsequent minor version releases as 15we work to track the evolving OpenTelemetry specification and user feedback. 16 17Our progress towards a GA release candidate is tracked in [this project 18board](https://github.com/orgs/open-telemetry/projects/5). This release 19candidate will follow semantic versioning and will be released with a major 20version greater than zero. 21 22Progress and status specific to this repository is tracked in our local 23[project boards](https://github.com/open-telemetry/opentelemetry-go/projects) 24and 25[milestones](https://github.com/open-telemetry/opentelemetry-go/milestones). 26 27Project versioning information and stability guarantees can be found in the 28[versioning documentation](./VERSIONING.md). 29 30### Compatibility 31 32This project is tested on the following systems. 33 34| OS | Go Version | Architecture | 35| ------- | ---------- | ------------ | 36| Ubuntu | 1.15 | amd64 | 37| Ubuntu | 1.14 | amd64 | 38| Ubuntu | 1.15 | 386 | 39| Ubuntu | 1.14 | 386 | 40| MacOS | 1.15 | amd64 | 41| MacOS | 1.14 | amd64 | 42| Windows | 1.15 | amd64 | 43| Windows | 1.14 | amd64 | 44| Windows | 1.15 | 386 | 45| Windows | 1.14 | 386 | 46 47While this project should work for other systems, no compatibility guarantees 48are made for those systems currently. 49 50## Getting Started 51 52You can find a getting started guide on [opentelemetry.io](https://opentelemetry.io/docs/go/getting-started/). 53 54OpenTelemetry's goal is to provide a single set of APIs to capture distributed 55traces and metrics from your application and send them to an observability 56platform. This project allows you to do just that for applications written in 57Go. There are two steps to this process: instrument your application, and 58configure an exporter. 59 60### Instrumentation 61 62To start capturing distributed traces and metric events from your application 63it first needs to be instrumented. The easiest way to do this is by using an 64instrumentation library for your code. Be sure to check out [the officially 65supported instrumentation 66libraries](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/instrumentation). 67 68If you need to extend the telemetry an instrumentation library provides or want 69to build your own instrumentation for your application directly you will need 70to use the 71[go.opentelemetry.io/otel/api](https://pkg.go.dev/go.opentelemetry.io/otel/api) 72package. The included [examples](./example/) are a good way to see some 73practical uses of this process. 74 75### Export 76 77Now that your application is instrumented to collect telemetry, it needs an 78export pipeline to send that telemetry to an observability platform. 79 80You can find officially supported exporters [here](./exporters/) and in the 81companion [contrib 82repository](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/exporters/metric). 83Additionally, there are many vendor specific or 3rd party exporters for 84OpenTelemetry. These exporters are broken down by 85[trace](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/export/trace?tab=importedby) 86and 87[metric](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/export/metric?tab=importedby) 88support. 89 90## Contributing 91 92See the [contributing documentation](CONTRIBUTING.md). 93