https://github.com/accelbyte/tracer-go
Distributed tracing tools used by Accelbyte
https://github.com/accelbyte/tracer-go
Last synced: 8 months ago
JSON representation
Distributed tracing tools used by Accelbyte
- Host: GitHub
- URL: https://github.com/accelbyte/tracer-go
- Owner: AccelByte
- License: apache-2.0
- Created: 2020-04-01T04:58:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-08T08:13:58.000Z (almost 6 years ago)
- Last Synced: 2024-06-20T16:36:49.907Z (almost 2 years ago)
- Language: Go
- Size: 15.6 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/AccelByte/tracer-go)
# tracer-go
Distributed tracing tools used by Accelbyte
Implemented to use jaeger tracing system and zipkin headers to pass spans
# usage
```go
jaegerAgentHost := "" // jaeger:6831
jaegerAgentEndpoint := "http://jaeger:14268/api/traces"
serviceName := "test"
realm := "node1"
closer := InitGlobalTracer(jaegerAgentHost, jaegerAgentEndpoint, serviceName, realm)
defer closer.Close()
```