Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.4% on proxy.golang.org
Top 2.5% forks on proxy.golang.org

proxy.golang.org : github.com/instana/go-sensor/instrumentation/go.opencensus.io/instatrace

Package instatrace provides Instana trace continuation by mapping the spans created within code instrumented with OpenCensus onto ongoing Instana traces. To map OpenCensus traces to Instana ones first register an exporter (this is usually done in your main() function, close to where Instana sensor is initialized: To correlate traces, the instatrace.Mapper needs an entry point to the code instrumented with OpenCensus. (*instatrace.Mapper).Context() checks whether there is an active OpenCensus trace present in provided context and maps this trace to an ongoing Instana trace stored within the same context. If there is no active OpenCensus trace yet, (*instatrace.Mapper).Context() initiates one: Once this is done, the exporter will send an Instana span for every OpenCensus span created from within this context, and attribute them to the same Instana trace.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/instana/go-sensor/instrumentation/go.opencensus.io/instatrace
Keywords: distributed-tracing, go, golang, gopher, instana, instrumentation, metrics, metrics-gathering, monitoring, opentracing, performance, performance-monitoring, trace, tracing
License: MIT
Latest release: over 1 year ago
First release: over 1 year ago
Namespace: github.com/instana/go-sensor/instrumentation/go.opencensus.io
Stars: 107 on GitHub
Forks: 32 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago

    Loading...
    Readme
    Loading...