You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: [SVLS-6946] rearrange serverless google cloud docs for incremental updates (#30102)
* feat: [SVLLS-6946] rearrange serverless google cloud docs for live updates
* chore: move google cloud under serverless
* chore: fix serverless google cloud index links
* chore: move google_cloud_run doc into serverless/google_cloud directory
* chore: move google cloud run in process docs to serverless/google_cloud directory
* chore: move cloud run functions docs to serverless/google_cloud directory
* chore: move functions 1st gen to serverless/google_cloud
* update structure
* fix menu
* update cloud run index page
* make links located at ``/serverless/google_cloud_run`; keep ``/serverless/google_cloud` as an alias
* fix workload html
* add further reading; fix padding on workloads
* replace workload images with text for more clarity
* hide gen 1 functions from sidebar
* add further erading
* move functions warning labels
* update sidecar & in-process links
* add 1st gen functions to sidebar
* fix link; require google cloud integration
* add info alerts for Google Cloud integration
* fix alert link
* update alerts
* update code text in alerts
* revert .editorconfig
* edits
---------
Co-authored-by: Nicholas Hulston <[email protected]>
Co-authored-by: Nicholas Hulston <[email protected]>
Co-authored-by: cecilia saixue watt <[email protected]>
<divclass="alert alert-info">Make sure to check out discussions going on in the <ahref="https://datadoghq.slack.com/archives/CFDPB83M4">#serverless</a> channel in the <ahref="https://chat.datadoghq.com/">Datadog Slack community</a>.</div>
@@ -56,7 +56,7 @@ With [Distributed Tracing][5], you can connect your serverless traces to metrics
56
56
57
57
### AWS Step Functions
58
58
59
-
AWS Step Functions is a serverless orchestration service that lets developers create and manage multi-step application workflows in AWS.
59
+
AWS Step Functions is a serverless orchestration service that lets developers create and manage multi-step application workflows in AWS.
60
60
61
61
Monitor metrics and logs from the [AWS Step Functions Integration][13] to view cloud-native telemetry within the Serverless app view.
62
62
@@ -66,7 +66,7 @@ Enhanced Step Function metrics, which appear in Datadog with the prefix `aws.sta
66
66
67
67
### Azure App Service
68
68
69
-
The [Datadog extension for Azure App Service][7] provides tracing capabilities for Azure Web Apps.
69
+
The [Datadog extension for Azure App Service][7] provides tracing capabilities for Azure Web Apps.
70
70
71
71
Use the [Azure App Service view][8] to:
72
72
@@ -82,7 +82,7 @@ The Datadog extension for Azure App Service provides tracing capabilities for Az
82
82
83
83
### Azure Container Apps
84
84
85
-
Azure Container Apps is a fully managed serverless platform for deploying and scaling container-based applications. Datadog provides monitoring and log collection for Container Apps through the [Azure integration][9].
85
+
Azure Container Apps is a fully managed serverless platform for deploying and scaling container-based applications. Datadog provides monitoring and log collection for Container Apps through the [Azure integration][9].
86
86
87
87
Datadog also provides a solution, now in Preview, for [instrumenting your Container Apps applications][10] with a purpose-built Agent to enable tracing, custom metrics, and direct log collection.
<divclass="alert alert-info">If you are running multiple containers per Google Cloud Run application, Datadog recommends using the Datadog sidecar: <ahref="/serverless/google_cloud_run">Instrument Google Cloud Run</a>.</div>
13
+
Google Cloud Run is a fully managed serverless platform for deploying and scaling container-based applications.
14
14
15
-
Google Cloud Run is a fully managed serverless platform for deploying and scaling container-based applications. Datadog provides monitoring and log collection for Cloud Run through the [Google Cloud integration][1]. Datadog also provides a solution for instrumenting your Cloud Run applications with a purpose-built Agent to enable tracing, custom metrics, and direct log collection.
15
+
This page provides instructions for instrumenting your Google Cloud Run containers with the Datadog Agent, which enables tracing, custom metrics, and direct log collection.
16
+
17
+
<divclass="alert alert-info">To instrument your Google Cloud Run applications with the Datadog Agent running in a sidecar, see <ahref="/serverless/google_cloud_run/containers">Instrument Google Cloud Run with Sidecar</a>.</div>
18
+
19
+
<divclass="alert alert-info">
20
+
<strong>Have you set up your <ahref="/integrations/google-cloud-platform/">Google Cloud integration</a>?</strong> Datadog recommends setting up the integration, which collects metrics and logs from Google Cloud services, before proceeding on to instrumentation. Remember to add the <code>cloud asset viewer</code> role to your service account and enable the Cloud Asset Inventory API in Google Cloud.
Once the container is built and pushed to your registry, the last step is to set the required environment variables for the Datadog Agent:
115
+
After the container is built and pushed to your registry, set the required environment variables for the Datadog Agent:
110
116
-`DD_API_KEY`: Datadog API key, used to send data to your Datadog account. It should be configured as a [Google Cloud Secret][11] for privacy and safety.
111
117
-`DD_SITE`: Datadog endpoint and website. Select your site on the right side of this page. Your site is: {{< region-param key="dd_site" code="true" >}}.
112
118
@@ -126,17 +132,17 @@ See [all arguments and flags for `gcloud run deploy`][26].
126
132
127
133
## Results
128
134
129
-
Once the deployment is completed, your metrics and traces are sent to Datadog. In Datadog, navigate to **Infrastructure > Serverless** to see your serverless metrics and traces.
135
+
After the deployment is completed, your metrics and traces are sent to Datadog. In Datadog, navigate to **Infrastructure > Serverless** to see your serverless metrics and traces.
130
136
131
137
## Additional configurations
132
138
133
-
-**Advanced Tracing:** The Datadog Agent already provides some basic tracing for popular frameworks. Follow the [advanced tracing guide][2] for more information.
139
+
-**Advanced tracing:** The Datadog Agent already provides some basic tracing for popular frameworks. Follow the [advanced tracing guide][2] for more information.
134
140
135
141
-**Logs:** If you use the [Google Cloud integration][1], your logs are already being collected. Alternatively, you can set the `DD_LOGS_ENABLED` environment variable to `true` to capture application logs through the serverless instrumentation directly.
136
142
137
-
-**Custom Metrics:** You can submit custom metrics using a [DogStatsD client][4]. For monitoring Cloud Run and other serverless applications, use [distribution][9] metrics. Distributions provide `avg`, `sum`, `max`, `min`, and `count` aggregations by default. On the Metric Summary page, you can enable percentile aggregations (p50, p75, p90, p95, p99) and also manage tags. To monitor a distribution for a gauge metric type, use `avg` for both the [time and space aggregations][11]. To monitor a distribution for a count metric type, use `sum` for both the time and space aggregations.
143
+
-**Custom metrics:** You can submit custom metrics using a [DogStatsD client][4]. For monitoring Cloud Run and other serverless applications, use [distribution][9] metrics. Distributions provide `avg`, `sum`, `max`, `min`, and `count` aggregations by default. On the Metric Summary page, you can enable percentile aggregations (p50, p75, p90, p95, p99) and also manage tags. To monitor a distribution for a gauge metric type, use `avg` for both the [time and space aggregations][11]. To monitor a distribution for a count metric type, use `sum` for both the time and space aggregations.
138
144
139
-
### Environment Variables
145
+
### Environment variables
140
146
141
147
| Variable | Description |
142
148
| -------- | ----------- |
@@ -158,7 +164,6 @@ This integration depends on your runtime having a full SSL implementation. If yo
158
164
RUN apt-get update && apt-get install -y ca-certificates
0 commit comments