[feature](tracing) Support query tracing to improve doris observability by introducing OpenTelemetry. (#10533)
The collection of query traces is implemented in fe and be, and the spans are exported to zipkin. DSIP: https://cwiki.apache.org/confluence/display/DORIS/DSIP-012%3A+Introduce+opentelemetry
This commit is contained in:
@ -42,6 +42,7 @@ Status VExceptNode::prepare(RuntimeState* state) {
|
||||
}
|
||||
|
||||
Status VExceptNode::open(RuntimeState* state) {
|
||||
START_AND_SCOPE_SPAN(state->get_tracer(), span, "VExceptNode::open");
|
||||
RETURN_IF_ERROR(VSetOperationNode::open(state));
|
||||
bool eos = false;
|
||||
Status st;
|
||||
@ -78,6 +79,7 @@ Status VExceptNode::open(RuntimeState* state) {
|
||||
}
|
||||
|
||||
Status VExceptNode::get_next(RuntimeState* state, Block* output_block, bool* eos) {
|
||||
INIT_AND_SCOPE_GET_NEXT_SPAN(state->get_tracer(), _get_next_span, "VExceptNode::get_next");
|
||||
SCOPED_TIMER(_probe_timer);
|
||||
Status st;
|
||||
create_mutable_cols(output_block);
|
||||
@ -104,6 +106,7 @@ Status VExceptNode::get_next(RuntimeState* state, Block* output_block, bool* eos
|
||||
}
|
||||
|
||||
Status VExceptNode::close(RuntimeState* state) {
|
||||
START_AND_SCOPE_SPAN(state->get_tracer(), span, "VExceptNode::close");
|
||||
return VSetOperationNode::close(state);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user