feat: trace_id in query context (#2014)

* chore: unify once_cell version

* chore: update cargo lock

* chore: add gen_trace_id

* chore: add trace_id to query_ctx

* chore: add debug log

* Revert "chore: add debug log"

This reverts commit f52ab3bb300f1d73117cd6ebbd8e0162829b1aba.

* chore: add frontend node id option

* chore: add query ctx to query engine ctx

* chore: set trace_id to logical_plan api

* chore: add trace_id in grpc entrance

* chore: generate trace_id while creating query_ctx

* chore: fix typo

* chore: extract trace_id from grpc header

* chore: extract trace_id from grpc header

* chore: fix clippy

* chore: add `QueryContextBuilder`

* chore: change node_id in fe to string
This commit is contained in:
shuiyisong
2023-07-24 15:35:06 +08:00
committed by GitHub
parent 39e74dc87e
commit 632cb26430
25 changed files with 283 additions and 101 deletions

View File

@@ -17,6 +17,6 @@ datatypes = { path = "../datatypes" }
hex = "0.4"
itertools.workspace = true
mito = { path = "../mito" }
once_cell = "1.10"
once_cell.workspace = true
snafu = { version = "0.7", features = ["backtraces"] }
sqlparser.workspace = true