Comments (4)
The trace library we use ourselves is an internal tool, so that's why the default implementation is a no-op. I agree that it would be more useful if you could register plugins from outside the package. I'll work on that. Thanks for the suggestion!
from vitess.
@enisoc Thanks a lot! :) Is there any public implementation of this trace factory? I'll try to implement one but having a look at other implementations would make it better, at least I would know what I should take care of.
from vitess.
I don't think there's a public version of the particular trace library we use, but it should be possible to find one that can be plugged in. The main things you'd need are:
- A plugin for this trace package, to wrap the trace creation/annotation methods provided by the trace library you use into the expected interface.
- A plugin for golang.org/x/net/context to put/get trace spans in contexts, so spans can be passed around by only passing context (which we already do).
- If you want to associate traces across RPCs instead of just within a given process, you'd also need a patch to bsonrpc to serialize the trace ID into the request.
from vitess.
I would suggest Twitter's zipkin (http://twitter.github.io/zipkin/). I've seen folks outside Twitter use it and the project itself seems mature.
from vitess.
Related Issues (20)
- Bug Report: schemadiff semantic analysis for views doesn't handle table names that are SQL keywords
- Bug Report: `txthrottler` watches health streams for every keyspace/shard
- Question: Is the Vitess Google Group still Active? HOT 4
- Bug Report: `vtcombo` startup is extremely slow with many keyspaces and tables HOT 1
- Bug Report: VTCombo does not create VSchema in topo HOT 2
- Bug Report: vtctldclient fails to apply routing rules HOT 3
- Bug Report: `--enable-tx-throttler` can lead to crash due to race in `go/vt/throttle`
- Bug Report: schemadiff doesn't compute correct type comparison for foreign keys with collations
- Incorrect Column Reference in ORDER BY Subquery Plan in vtgate
- Vtgate returns the wrong type HOT 1
- Bug Report: `vtexplain` fails on sharded `UNION` queries containing `weight_string`
- Bug Report: `EXISTS` subqueries no longer apply `LIMIT 1`
- VReplication SwitchTraffic: backticks in sequence tables in vschema cause SwitchTraffic to error out
- multi-table join in sharded keyspace returns unexpected number of rows affected HOT 6
- Null Pointer Panic Due to Incorrect Nullability Assumptions for Columns from Outer Tables
- VDiff CLI: VDiff `show` displays vdiffs incorrectly when there are multiple vdiffs for a keyspace/workflow
- Release of `v20.0.0-RC2` HOT 1
- Test
- vtctld: infinite loop on "Found stream log for nonexistent stream" HOT 1
- Bug Report: Online DDL shadow table self referencing foreign keys should reference shadow table
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitess.