Skip to content

Add process_id to all root spans#4397

Merged
zarirhamza merged 10 commits intomasterfrom
zarir/process_id
Dec 8, 2022
Merged

Add process_id to all root spans#4397
zarirhamza merged 10 commits intomasterfrom
zarir/process_id

Conversation

@zarirhamza
Copy link
Copy Markdown
Contributor

@zarirhamza zarirhamza commented Dec 7, 2022

What Does This Do

Utiltizes PidHelper changes to add process_id tag with the value of PID to all root spans.

Motivation

Part of larger initiative to have similar tags and value across all tracers. Java tracer did not have process_id compared to other languages and thus has been added.

@zarirhamza zarirhamza marked this pull request as ready for review December 7, 2022 17:56
@zarirhamza zarirhamza requested a review from a team as a code owner December 7, 2022 17:56
Copy link
Copy Markdown
Contributor

@devinsba devinsba left a comment

Choose a reason for hiding this comment

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

We should undo the changes to newHashMap()

Comment thread internal-api/src/main/java/datadog/trace/api/Config.java Outdated
Comment thread internal-api/src/main/java/datadog/trace/api/Config.java Outdated
@zarirhamza
Copy link
Copy Markdown
Contributor Author

All tests fixed and ready to be merged

@zarirhamza zarirhamza requested a review from devinsba December 8, 2022 00:00
Comment thread internal-api/src/main/java/datadog/trace/api/Config.java Outdated
Comment thread internal-api/src/main/java/datadog/trace/api/Config.java Outdated
Comment thread internal-api/src/main/java/datadog/trace/api/Config.java
@zarirhamza zarirhamza dismissed devinsba’s stale review December 8, 2022 15:53

Changed and approved

@zarirhamza zarirhamza merged commit 5a3e323 into master Dec 8, 2022
@zarirhamza zarirhamza deleted the zarir/process_id branch December 8, 2022 16:50
@github-actions github-actions Bot added this to the 1.3.0 milestone Dec 8, 2022
@mcculls mcculls changed the title Adds process_id to all root spans Add process_id to all root spans Dec 19, 2022
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.

3 participants