Skip to content

[#16670] dist-trace: initialize distributed tracing in the master/tserver process - #18

Open
ellabaron-code wants to merge 1 commit into
dist-trace-06-shmem-propagationfrom
dist-trace-07-server-init
Open

[#16670] dist-trace: initialize distributed tracing in the master/tserver process#18
ellabaron-code wants to merge 1 commit into
dist-trace-06-shmem-propagationfrom
dist-trace-07-server-init

Conversation

@ellabaron-code

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Author

Misfiled: reopening against yugabyte/yugabyte-db.

@ellabaron-code
ellabaron-code force-pushed the dist-trace-06-shmem-propagation branch from 7090413 to bc5dd86 Compare July 11, 2026 02:15
@ellabaron-code
ellabaron-code force-pushed the dist-trace-07-server-init branch from fbd44a0 to d24a28c Compare July 11, 2026 02:15
@ellabaron-code ellabaron-code changed the title dist-trace: initialize distributed tracing in the master/tserver process [#16670] dist-trace: initialize distributed tracing in the master/tserver process Jul 11, 2026
@ellabaron-code
ellabaron-code force-pushed the dist-trace-06-shmem-propagation branch from bc5dd86 to d684020 Compare July 13, 2026 15:14
@ellabaron-code
ellabaron-code force-pushed the dist-trace-07-server-init branch from d24a28c to ffc1420 Compare July 13, 2026 15:14
@ellabaron-code
ellabaron-code force-pushed the dist-trace-06-shmem-propagation branch from d684020 to 17de952 Compare July 13, 2026 16:12
@ellabaron-code
ellabaron-code force-pushed the dist-trace-07-server-init branch from ffc1420 to 0a4d830 Compare July 13, 2026 16:12
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
ellabaron-code force-pushed the dist-trace-06-shmem-propagation branch from 17de952 to 54c48c6 Compare July 13, 2026 22:25
@ellabaron-code
ellabaron-code force-pushed the dist-trace-07-server-init branch from 0a4d830 to 7d22120 Compare July 13, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant