Skip to content

Commit b4128fb

Browse files
authored
[Cloud Run] Fix .NET Function tracer path & add link to Terraform module (#31752)
* fix tracer path * add link to Terraform module github * fix link
1 parent ebe3dbf commit b4128fb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

content/en/serverless/google_cloud_run/functions/dotnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ further_reading:
2424
{{< code-block lang="text" disable_copy="false" >}}
2525
CORECLR_ENABLE_PROFILING=1
2626
CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}
27-
CORECLR_PROFILER_PATH=/workspace/datadog/linux-x64/Datadog.Trace.ClrProfiler.Native.so
28-
DD_DOTNET_TRACER_HOME=/workspace/datadog
27+
CORECLR_PROFILER_PATH=/layers/google.dotnet.publish/publish/bin/datadog/linux-x64/Datadog.Trace.ClrProfiler.Native.so
28+
DD_DOTNET_TRACER_HOME=/layers/google.dotnet.publish/publish/bin/datadog
2929
{{< /code-block >}}
3030

3131
For more information, see [Tracing .NET applications][2].

layouts/shortcodes/gcr-install-sidecar-terraform.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
The [Datadog Terraform module for Google Cloud Run][1001] wraps the [google_cloud_run_v2_service][1002] resource and automatically configures your Cloud Run service for Datadog Serverless Monitoring by adding required environment variables and the serverless-init sidecar.
2+
13
Create a `.tf` file that contains your configuration. You can use the following example and adapt it to your needs:
24

35
```tf
@@ -61,3 +63,5 @@ To deploy your app, run:
6163
terraform apply
6264
```
6365

66+
[1001]: https://github.com/DataDog/terraform-google-cloud-run-datadog
67+
[1002]: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_v2_service

0 commit comments

Comments
 (0)