Skip to content

[SVLS-7119] add instructions to install Serverless monitoring for .NET Azure Functions #30608

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

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

duncanpharvey
Copy link
Contributor

@duncanpharvey duncanpharvey commented Jul 21, 2025

What does this PR do? What is the motivation?

Adds instructions to install Serverless monitoring for .NET Azure Functions.

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.

Additional notes

  • Rewords installation instructions to be consistent across languages
    • Start the Datadog Serverless Compatibility Layer and initialize the Datadog <language> tracer
  • Fixes links to runtime metrics and custom metrics documentation
  • Removes references to specific tracer versions. Recommending the latest version is sufficient now that automatic instrumentation of http triggers has been available for several months
  • Removes instructions for trace stats. DD_TRACE_STATS_COMPUTATION_ENABLED and DD_TRACE_TRACER_METRICS_ENABLED are for a configuration that is no longer maintained
  • Removes note around Linux Consumption plans and GitHub Actions since recent fixes have remedied this issue

Copy link
Contributor

github-actions bot commented Jul 21, 2025

ℹ️ Documentation Team Review

No documentation team review is required for this pull request.

Copy link
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@lucaspimentel lucaspimentel requested a review from a team July 21, 2025 21:04
@@ -105,50 +174,25 @@ This page explains how to collect traces, trace metrics, runtime metrics, and cu
| `DD_API_KEY` | Your [Datadog API key][1]. |
Copy link
Member

@lucaspimentel lucaspimentel Jul 21, 2025

Choose a reason for hiding this comment

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

Probably fine for a first pass, but we should consider consolidating all the env vars later. Right now the steps are

  1. add env vars
  2. deploy your func
  3. add more env vars

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me know if you have any formatting recommendations for this! We have the .NET specific environment variables in the programming-lang lang block and the generic environment variables outside of it so I'm not sure the best way to reconcile those two things.

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