Skip to content

[SVLS-8669] Update documentation about the Continuous Profiler in Serverless#35125

Open
kathiehuang wants to merge 2 commits intomasterfrom
kathie.huang/add-profiling-to-serverless-azure-gcp
Open

[SVLS-8669] Update documentation about the Continuous Profiler in Serverless#35125
kathiehuang wants to merge 2 commits intomasterfrom
kathie.huang/add-profiling-to-serverless-azure-gcp

Conversation

@kathiehuang
Copy link
Contributor

@kathiehuang kathiehuang commented Mar 9, 2026

What does this PR do? What is the motivation?

  • Update Serverless instrumentation pages to document that the Continuous Profiler is in preview
    • Python and Node.js for Azure Functions, Azure App Service Linux, Azure Container Apps, Google Cloud Run Functions Gen 2, Google Cloud Run Services, Google Cloud Run Jobs
    • .NET and Node.js for Azure App Service Windows
  • Note that the Python Continuous Profiler only starts with ddtrace-run, so import ddtrace.auto is needed in the app code for Google Cloud Run Functions Gen 2
  • When instrumenting with a sidecar, DD_PROFILING_ENABLED needs to be set in the application container rather than the sidecar container

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Preview links (active after the build_preview check completes)

Modified Files

@kathiehuang kathiehuang force-pushed the kathie.huang/add-profiling-to-serverless-azure-gcp branch from 2353c3f to ed923db Compare March 9, 2026 22:06
@kathiehuang kathiehuang marked this pull request as ready for review March 10, 2026 14:07
@kathiehuang kathiehuang requested review from a team as code owners March 10, 2026 14:07
@jeff-morgan-dd jeff-morgan-dd self-assigned this Mar 10, 2026
Copy link
Contributor

@jeff-morgan-dd jeff-morgan-dd left a comment

Choose a reason for hiding this comment

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

Approving, with one suggestion for several of the pages:

On the pages where Continuous Profiler is included as a numbered step (azure_container_apps/in_container/nodejs, for example) - the indentation gets inconsistent because of the numbered step followed immediately by the div. Flipping the div to go after the instructions resolves it - see this comment for an example.

I didn't make the edit or comment on every relevant page, but I recommend doing so on those last several pages where it's included as a numbered step.


6. **Enable profiling (preview)**.

<div class="alert alert-info">
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<div class="alert alert-info">
To enable the [Continuous Profiler][4], set the environment variable `DD_PROFILING_ENABLED=true`.
<div class="alert alert-info">Datadog's Continuous Profiler is available in preview for Azure Container Apps.
</div>

Copy link
Contributor

Choose a reason for hiding this comment

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

The rendered indentation got a little funky on these pages where CP is included as a numbered step, I think on account of the div being right after the number. Flipping them like this resolves it - not a huge deal, but a little more consistent-looking.

Since we have "preview" in the step name, i don't think this sacrifices any emphasis on preview status.

6. **Enable profiling (preview)**.

<div class="alert alert-info">
Datadog's Continuous Profiler is available in preview for Azure Container Apps.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Datadog's Continuous Profiler is available in preview for Azure Container Apps.


<div class="alert alert-info">
Datadog's Continuous Profiler is available in preview for Azure Container Apps.
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
</div>

Datadog's Continuous Profiler is available in preview for Azure Container Apps.
</div>

To enable the [Continuous Profiler][4], set the environment variable `DD_PROFILING_ENABLED=true`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
To enable the [Continuous Profiler][4], set the environment variable `DD_PROFILING_ENABLED=true`.


6. **Enable profiling (preview)**.

<div class="alert alert-info">
Copy link
Contributor

Choose a reason for hiding this comment

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

See edit above re: flipping the alert note and the text to make the indentation more consistent

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