https://github.com/graphaelli/otmux
Experimental Opentracing Multiplexer for Go
https://github.com/graphaelli/otmux
Last synced: 5 months ago
JSON representation
Experimental Opentracing Multiplexer for Go
- Host: GitHub
- URL: https://github.com/graphaelli/otmux
- Owner: graphaelli
- License: apache-2.0
- Archived: true
- Created: 2019-03-03T02:11:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-24T23:30:56.000Z (over 3 years ago)
- Last Synced: 2024-06-21T21:26:30.253Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 2.01 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Opentracing Multiplexer for Go
This is an experiment for duplicating all trace reporting through multiple opentracing tracers within a single go application.
It is not intended for production use.
## Quickstart
```go
import (
"github.com/graphaelli/otmux"
)
tracer := otmux.NewTracer(elasticOpenTracer, jaegerOpenTracer)
opentracing.SetGlobalTracer(tracer)
```
## Example
[cmd/](cmd) contains an example client and server wired up to:
* [Elastic APM](https://www.elastic.co/solutions/apm)
* [Haystack](https://expediadotcom.github.io/haystack/)
* [Jaeger](http://jaegertracing.io)
* [Zipkin](http://zipkin.io)
An example of the same trace represented across those systems:
