go-gorm / opentracing

opentracing integration with GORM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

And project support pass a tracker?

greatcat-taihe opened this issue · comments

Describe the feature

Pass a tracker instead of global one

Motivation

I want use other ServiceName of tracker like "mysql" "postgres"

Does it look like you would have 2 more tracer clients in your project? @greatcat-taihe Of course, you can pass the specified tracer, just add an option for gorm.opentracing. But i wonder do you have different tracers in one server and why?

Does it look like you would have 2 more tracer clients in your project? @greatcat-taihe Of course, you can pass the specified tracer, just add an option for gorm.opentracing. But i wonder do you have different tracers in one server and why?

I use jaeger, after give gorm a tracker, jaeger dependency look more clear. Database will be a independent service
example

I got it