Skip to content

Conversation

@wantsui
Copy link
Collaborator

@wantsui wantsui commented Nov 19, 2025

What does this PR do?

Implements AIDM-254, which is to add process tags to the profiling payloads.

Requires https://github.com/DataDog/libdatadog/pull/1359/files to be implemented first.

Motivation:

AIDM-254

Change log entry

Add process tags to the profiling payloads.

Additional Notes:

When reviewing this, keep in mind that we need the implementations across tracers to be consistent:
Java PR: DataDog/dd-trace-java#8780
Python PR: DataDog/dd-trace-py#15226
.NET PR: DataDog/dd-trace-dotnet#7715

Open Questions:

  1. Is there a concept of a "root" payload in dd-trace-rb for profiling?
  2. Do I need to worry about the libdatadog process file currently in this code base? 🤔

Also do not merge this PR until #5033 is merged.

Also requires libdatadog: DataDog/libdatadog#1359

How to test the change?

bundle exec rspec spec/datadog/profiling/tag_builder_spec.rb

wantsui and others added 30 commits November 7, 2025 17:26
… This is still missing memoization and additional tests.
…he payload has the process tag only when the feature is enabled.
…uby conflict with sqlite and it is not needed for this test
wantsui and others added 27 commits November 21, 2025 09:12
Co-authored-by: Sergey Fedorov <[email protected]>
…e requirement to change the default encoding behavior and adjust tag normalizer variables.
Co-authored-by: Marco Costa <[email protected]>
… need to add the additional process values normalization logic for service names since they can only be 100 characters and cannot have colons.
… tests for the singular version of MAX_PROCESS_VALUE_BYTE_SIZE
Base automatically changed from add-process-tags-to-tracing to master December 4, 2025 17:57
@ivoanjo
Copy link
Member

ivoanjo commented Dec 8, 2025

Now that #5033 has landed, this probably needs a rebase/merge from master 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Involves Datadog core libraries profiling Involves Datadog profiling tracing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants