Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: add runtime-id to profiler and tracer global tags. #692

Merged
merged 6 commits into from
Jul 9, 2020

Conversation

knusbaum
Copy link
Contributor

@knusbaum knusbaum commented Jul 7, 2020

This commit adds a runtime-id tag to the global tags in the tracer and the profiler. The runtime-id is a per-process random UUID that identifies a running process, and allows us to link traces and profiles from the same process.

@knusbaum knusbaum requested review from gbbr and dbenamydd July 7, 2020 18:49
@knusbaum knusbaum added this to the 1.26.0 milestone Jul 7, 2020
@knusbaum knusbaum marked this pull request as ready for review July 7, 2020 18:54
Copy link
Contributor

@gbbr gbbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌 perfect

internal/globalconfig/globalconfig.go Outdated Show resolved Hide resolved
ddtrace/tracer/tracer_test.go Outdated Show resolved Hide resolved
@knusbaum knusbaum requested a review from gbbr July 7, 2020 20:50
@knusbaum knusbaum merged commit bd2c541 into v1 Jul 9, 2020
knusbaum added a commit that referenced this pull request Jul 14, 2020
The merge of #692 conflicted with tests from #685, causing failures in ddtrace/tracer/log_test.go
There were also tests added in #685 in ddtrace/tracer/sampler_test.go which fail in go1.14 due to changes in json parsing.
@knusbaum knusbaum deleted the knusbaum/runtime-id branch July 14, 2020 16:15
mingrammer pushed a commit to mingrammer/dd-trace-go that referenced this pull request Dec 22, 2020
This commit adds a runtime-id tag to all traces and profiles. The
runtime-id tag is unique per process and facilitates the linking of traces
and profiles.
mingrammer pushed a commit to mingrammer/dd-trace-go that referenced this pull request Dec 22, 2020
The merge of DataDog#692 conflicted with tests from DataDog#685, causing failures in ddtrace/tracer/log_test.go
There were also tests added in DataDog#685 in ddtrace/tracer/sampler_test.go which fail in go1.14 due to changes in json parsing.
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.

2 participants