Warning
OpenCensus and OpenTracing have merged to form OpenTelemetry, which serves as the next major version of OpenCensus and OpenTracing.
OpenTelemetry has now reached feature parity with OpenCensus, with tracing and metrics SDKs available in .NET, Golang, Java, NodeJS, and Python. All OpenCensus Github repositories, except census-instrumentation/opencensus-python, will be archived on July 31st, 2023. We encourage users to migrate to OpenTelemetry by this date.
To help you gradually migrate your instrumentation to OpenTelemetry, bridges are available in Java, Go, Python, and JS. Read the full blog post to learn more.
aws
package defines an exporter that publishes spans to AWS X-Ray
.
go get contrib.go.opencensus.io/exporter/aws
-
Publish spans in a separate goroutine -
Support propagation of http spans -
Support remote spans -
Verified works with ELB/ALB -
Report errors / exceptions -
Publish partial segments; currently only completed segments are published to aws