mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2026-09-22 15:29:03 -07:00
Reduce spans emitted per controller request without touching the head sample rate. Removes 20 StartSpan sites (97 -> 77) that traced the same logical op at multiple layers: - DB.cpp: drop all db:: read-helper/leaf spans; the db_mirror_set:: wrapper survives as the single span per read op (also removes the latent member_id-from-networkId attribute bug). - CentralDB.cpp: drop inner write-op spans (save/+children, nodeIsOnline, eraseNetwork, eraseMember); keep getSSOAuthInfo (errors) and all background-thread spans (commitThread, onlineNotificationThread, init). - EmbeddedNetworkController.cpp: drop per-rule parseRule span and the no-op _startThreads span; keep request/_request roots. Sampler, trace-context propagation, commit/Bigtable-write spans, and all business logic are unchanged.