apache / apache/uniffle

[Feature Request] Introduce the unique trace id to debug easily

Open
#66 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
454
Forks
172
Avg merge
5d 17h
Merged PRs (30d)
5

Description

### Motivation
It's hard to analyze which process cost the most time of one remote request in current codebase, due to lacking corresponding trace id in client and server side.

### Plan
Maybe we could introduce the unique trace id which is generated on time/client-machine-id in one remote request, and then record it in client's log. And when requesting remote server, we should populate this to server and make it recorded in server's log.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; begin by locating the client and server entry points for a remote request and their logging paths. Trace how request metadata crosses that boundary, then define the trace ID generation and propagation scope. Done means one request can be correlated through the client and server logs using the same unique ID.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.