All Projects → alextanhongpin → go-jaeger-trace

alextanhongpin / go-jaeger-trace

Licence: other
Simple demo on OpenTracing with Go

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go-jaeger-trace

Jaeger
CNCF Jaeger, a Distributed Tracing Platform
Stars: ✭ 14,813 (+82194.44%)
Mutual labels:  opentracing, jaeger
pulsar-tracing
Tracing instrumentation for Apache Pulsar clients.
Stars: ✭ 13 (-27.78%)
Mutual labels:  opentracing, jaeger
microprofile.training
home of http://microprofile.training sample app
Stars: ✭ 19 (+5.56%)
Mutual labels:  opentracing, jaeger
microservices-demo
A Monorepo Demoing Microservices Architecture
Stars: ✭ 36 (+100%)
Mutual labels:  opentracing, jaeger
jaeger-node
Out of the box distributed tracing for Node.js applications.
Stars: ✭ 66 (+266.67%)
Mutual labels:  opentracing, jaeger
kubernetes-examples
A bunch of examples of how to deploy things on kubernetes
Stars: ✭ 34 (+88.89%)
Mutual labels:  opentracing, jaeger
Go-gRPC-RabbitMQ-microservice
Go gRPC RabbitMQ email microservice
Stars: ✭ 107 (+494.44%)
Mutual labels:  opentracing, jaeger
opentracing-utils
Convenient utilities for adding OpenTracing support in your python projects
Stars: ✭ 20 (+11.11%)
Mutual labels:  opentracing, jaeger
java-web-servlet-filter
OpenTracing Java Web Servlet Filter Instrumentation
Stars: ✭ 20 (+11.11%)
Mutual labels:  opentracing
lolita
基于gin 微服务opentrace集成
Stars: ✭ 13 (-27.78%)
Mutual labels:  jaeger
go-sensor
🚀 Go Distributed Tracing & Metrics Sensor for Instana
Stars: ✭ 90 (+400%)
Mutual labels:  opentracing
zipkin-cpp-opentracing
OpenTracing Tracer implementation for Zipkin in C++
Stars: ✭ 46 (+155.56%)
Mutual labels:  opentracing
java-okhttp
OpenTracing Okhttp client instrumentation
Stars: ✭ 21 (+16.67%)
Mutual labels:  opentracing
go-grpc
Package otgrpc provides OpenTracing support for any gRPC client or server.
Stars: ✭ 57 (+216.67%)
Mutual labels:  opentracing
gin-swagger
DRY templates for go-swagger
Stars: ✭ 79 (+338.89%)
Mutual labels:  opentracing
gcloud-opentracing
OpenTracing Tracer implementation for GCloud StackDriver in Go.
Stars: ✭ 44 (+144.44%)
Mutual labels:  opentracing
actix-web-opentelemetry
OpenTelemetry integration for Actix Web
Stars: ✭ 45 (+150%)
Mutual labels:  jaeger
observatorium
This repository contains the deployment configurations for the Observatorium instances
Stars: ✭ 129 (+616.67%)
Mutual labels:  jaeger
java-metrics
No description or website provided.
Stars: ✭ 31 (+72.22%)
Mutual labels:  opentracing
microservices-observability
🎉 Microservices Observability - Log Aggregation, Distributed Tracking, Metrics
Stars: ✭ 40 (+122.22%)
Mutual labels:  opentracing

go-jaeger-trace

Start

$ docker-compose up -d

Run Server

$ go run server/main.go

Output:

2018/04/13 16:52:55 Initializing logging reporter
listening to port *:8080. press ctrl + c to cancel

Run Client

$ go run client/main.go

Output:

2018/04/13 16:52:57 Initializing logging reporter
2018/04/13 16:52:57 Reporting span 9ad925450ab9dba:420f7c605e0b8f01:6568e0797064c901:1
2018/04/13 16:52:57 {"message": "hello!"}
2018/04/13 16:52:57 Reporting span 9ad925450ab9dba:3019c48aa8106cf4:6568e0797064c901:1
2018/04/13 16:52:57 Reporting span 9ad925450ab9dba:6568e0797064c901:9ad925450ab9dba:1
2018/04/13 16:52:57 Reporting span 9ad925450ab9dba:9ad925450ab9dba:0:1

UI

Available at http://localhost:16686/. View registered services:

trace

The spans:

span

Stop

$ docker-compose down

Traefik

Traefik allows jaeger tracing too.

$ chmod +x traefik_darwin-amd64
$ sudo ./traefik --configFile=config/traefik.toml

Calling the traefik with go run client/main.go:

trace

Calling the traefik with go run plain-client/main.go:

notrace

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].