Ecosyste.ms: Packages

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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/negz/linkin

Package linkin provides linkerd trace propagation for Opencensus. Opencensus is a single distribution of libraries that automatically collects traces and metrics from your app, displays them locally, and sends them to any analysis tool. Opencensus supports the Zipkin request tracing system. Zipkin is a popular distributed tracing system, allowing requests to be traced through a distributed system. A request is broken into 'spans', each representing one part of the greater request path. Software that wishes to leverage Zipkin must be instrumented to do so (for example via Opencensus). linkerd is a popular service mesh. One of linkerd's selling points is that it provides Zipkin request tracing 'for free'. Software need not be 'fully' instrumented, and instead need only copy linkerd's l5d-ctx-* HTTP headers from incoming HTTP requests to any outgoing HTTP requests they spawn. Unfortunately while linkerd emits traces to Zipkin, it propagates trace data via a non-standard header. This package may be used as a drop-in replacement for https://godoc.org/go.opencensus.io/plugin/ochttp/propagation/b3 in environments that use linkerd for part or all of their request tracing needs. linkerd trace headers are base64 encoded 32 or 40 byte arrays (depending on whether the trace ID is 64 or 128bit) with the following Finagle serialization format: https://github.com/twitter/finagle/blob/345d7a2/finagle-core/src/main/scala/com/twitter/finagle/tracing/Id.scala#L113 https://github.com/twitter/finagle/blob/345d7a2/finagle-core/src/main/scala/com/twitter/finagle/tracing/Flags.scala

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/negz/linkin
Keywords: linkerd, opencensus, tracing, zipkin
License: Apache-2.0
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/negz
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 9 days ago

    Loading...
    Readme
    Loading...