-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Span tags for "unified naming conventions" (#20)
* net_util -> platform_util * get_process_id() * move pthread_atfork into platform_util.cpp * Tag every span with the process ID. - glibc does not cache the process ID in user space. So, as a (premature?) optimization, we cache the process ID and recalculate it whenever the process forks. - The existing behavior of tagging each span with _dd.origin wasn't tested, so in testing this process ID change I also added a test for origin. * Tag every span with the language "cpp". * move random number generation into its own component * Tag every span with a resource-id UUID. * update includes graph * missed a spot * fix typo * be consistent with the order * wrong again! * inline some at_fork handlers * remove unnecessary includes * comment the cached_* functions * fix tag name: error.msg -> error.message * remove unnecessary caveat * delambdify * generate 64 bits of randomness in a go, not 63 * modify bits high-to-low * zero most significant bit of 64-bit trace IDs * zero most significant bit of span IDs
- Loading branch information
Showing
21 changed files
with
2,596 additions
and
2,258 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.