Skip to content

Enhance Synthetic Span Service Representation #635

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

Merged
merged 8 commits into from
Jul 28, 2025
Merged

Enhance Synthetic Span Service Representation #635

merged 8 commits into from
Jul 28, 2025

Conversation

zarirhamza
Copy link
Contributor

@zarirhamza zarirhamza commented Jul 17, 2025

What does this PR do?

Rollout of span naming changes to align serverless product with tracer to create streamlined Service Representation for Serverless

Key Changes:

  • Change service name to match instance name for all managed services (aws.lambda -> lambda name, etc) (breaking)

  • Add span.kind:server on synthetic spans made via span-inferrer

  • Implement DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED (default true) to allow users to opt out

Motivation

Improve Service Map for Serverless. This allows for synthetic spans to have their own service on the map which connects with the inferred spans from the tracer side.

Testing Guidelines

Unit and Integration tests updated accordingly.

Matching the service name to the instance name essentially removes the need for a base_service tag in some instances due to essentially removing service overrides

Additional Notes

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

@zarirhamza zarirhamza marked this pull request as ready for review July 28, 2025 18:01
@zarirhamza zarirhamza requested review from a team as code owners July 28, 2025 18:01
Copy link
Contributor

@joeyzhao2018 joeyzhao2018 left a comment

Choose a reason for hiding this comment

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

LGTM

@zarirhamza zarirhamza merged commit 7806d72 into main Jul 28, 2025
61 checks passed
@zarirhamza zarirhamza deleted the zarir/SSR branch July 28, 2025 19:41
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