[#16670] dist-trace: initialize distributed tracing in the master/tserver process - #18
Open
ellabaron-code wants to merge 1 commit into
Open
Conversation
Author
|
Misfiled: reopening against yugabyte/yugabyte-db. |
ellabaron-code
force-pushed
the
dist-trace-06-shmem-propagation
branch
from
July 11, 2026 02:15
7090413 to
bc5dd86
Compare
ellabaron-code
force-pushed
the
dist-trace-07-server-init
branch
from
July 11, 2026 02:15
fbd44a0 to
d24a28c
Compare
ellabaron-code
force-pushed
the
dist-trace-06-shmem-propagation
branch
from
July 13, 2026 15:14
bc5dd86 to
d684020
Compare
ellabaron-code
force-pushed
the
dist-trace-07-server-init
branch
from
July 13, 2026 15:14
d24a28c to
ffc1420
Compare
ellabaron-code
force-pushed
the
dist-trace-06-shmem-propagation
branch
from
July 13, 2026 16:12
d684020 to
17de952
Compare
ellabaron-code
force-pushed
the
dist-trace-07-server-init
branch
from
July 13, 2026 16:12
ffc1420 to
0a4d830
Compare
DbServerBase is the shared base of both Master and TabletServer, so DbServerBase::Init is the single place that initializes the process-wide dist_trace tracer (service name = server name, node id = permanent uuid) for every DB server process -- master, tserver, and the PG backend's server -- with DbServerBase::Shutdown tearing it down. Gated by IsDistTraceEnabled, so it is a no-op when tracing is off.
ellabaron-code
force-pushed
the
dist-trace-06-shmem-propagation
branch
from
July 13, 2026 22:25
17de952 to
54c48c6
Compare
ellabaron-code
force-pushed
the
dist-trace-07-server-init
branch
from
July 13, 2026 22:25
0a4d830 to
7d22120
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DbServerBase is the shared base of both Master and TabletServer, so
DbServerBase::Init is the single place that initializes the process-wide
dist_trace tracer (service name = server name, node id = permanent uuid)
for every DB server process -- master, tserver, and the PG backend's
server -- with DbServerBase::Shutdown tearing it down. Gated by
IsDistTraceEnabled, so it is a no-op when tracing is off.