tikv / tikv

Distributed transactional key-value database, originally created to complement TiDB
https://tikv.org
Apache License 2.0
15.11k stars 2.13k forks source link

introduce open tracing #2469

Open siddontang opened 6 years ago

siddontang commented 6 years ago

TiDB and PD have already supported opentracing, we can add it later.

There is a lib https://github.com/sile/rustracing and it has a good completion.

brson commented 5 years ago

This seems like potentially a good mentor issue. Can somebody provide a little more information on how to get started here?

brson commented 5 years ago

Per liu: "for open tracing, although it has been supported in tidb, we still don’t enable by default because it can hurt the performance. and now for tikv, we prefer adding more metrics and logs to help us locate some problems easily, so tracing may has lower priority."

jtescher commented 4 years ago

A performant option possibly worth looking at would be https://github.com/tokio-rs/tracing/. It allows you to add trace information with very low overhead when not used. Also has OpenTelemetry integration via https://github.com/tokio-rs/tracing/tree/master/tracing-opentelemetry.