Skip to content

Commit ddfdc3a

Browse files
committed
Serverless configuration in a single page
1 parent 8dbeec6 commit ddfdc3a

File tree

5 files changed

+126
-68
lines changed

5 files changed

+126
-68
lines changed

config/_default/menus/menus.en.yaml

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -812,89 +812,94 @@ main:
812812
parent: serverless_installation
813813
identifier: serverless_installation_dotnet
814814
weight: 106
815+
- name: Configuration
816+
url: serverless/configuration
817+
parent: serverless
818+
identifier: serverless_configuration
819+
weight: 2
815820
- name: Libraries & Integrations
816821
url: serverless/libraries_integrations
817822
parent: serverless
818823
identifier: libraries_integrations
819-
weight: 2
824+
weight: 3
820825
- name: Datadog Lambda Extension
821826
url: serverless/libraries_integrations/extension/
822827
parent: libraries_integrations
823-
weight: 201
828+
weight: 301
824829
- name: Datadog Lambda Library
825830
url: serverless/libraries_integrations/library/
826831
parent: libraries_integrations
827-
weight: 202
832+
weight: 302
828833
- name: Datadog Forwarder
829834
url: serverless/libraries_integrations/forwarder/
830835
parent: libraries_integrations
831-
weight: 203
836+
weight: 303
832837
- name: Datadog Serverless Plugin
833838
url: serverless/libraries_integrations/plugin/
834839
parent: libraries_integrations
835-
weight: 204
840+
weight: 304
836841
- name: Datadog Serverless Macro
837842
url: serverless/libraries_integrations/macro/
838843
parent: libraries_integrations
839-
weight: 205
844+
weight: 305
840845
- name: Datadog Serverless CLI
841846
url: serverless/libraries_integrations/cli/
842847
parent: libraries_integrations
843-
weight: 206
848+
weight: 306
844849
- name: Lambda Code Signing
845850
url: serverless/libraries_integrations/lambda_code_signing/
846851
parent: libraries_integrations
847-
weight: 207
852+
weight: 307
848853
- name: Distributed Tracing
849854
url: serverless/distributed_tracing
850855
identifier: serverless_distributed_tracing
851856
parent: serverless
852-
weight: 3
857+
weight: 4
853858
- name: Collect Lambda Payloads
854859
url: serverless/distributed_tracing/collect_lambda_payloads
855860
parent: serverless_distributed_tracing
856-
weight: 301
861+
weight: 401
857862
- name: Trace Merging (Advanced)
858863
url: serverless/distributed_tracing/serverless_trace_merging
859864
parent: serverless_distributed_tracing
860-
weight: 302
865+
weight: 402
861866
- name: Trace Propagation (Advanced)
862867
url: serverless/distributed_tracing/serverless_trace_propagation
863868
parent: serverless_distributed_tracing
864-
weight: 303
869+
weight: 403
865870
- name: Custom Metrics
866871
url: serverless/custom_metrics
867872
parent: serverless
868873
identifier: custom_metrics
869-
weight: 4
874+
weight: 5
870875
- name: Enhanced Lambda Metrics
871876
url: serverless/enhanced_lambda_metrics
872877
parent: serverless
873-
weight: 5
878+
weight: 6
874879
- name: Deployment Tracking
875880
url: serverless/deployment_tracking
876881
parent: serverless
877-
weight: 6
882+
weight: 7
878883
- name: Troubleshooting
879884
url: serverless/troubleshooting
880885
parent: serverless
881886
identifier: serverless_troubleshooting
882-
weight: 7
887+
weight: 8
883888
- name: Azure App Service Extension
884889
url: serverless/azure_app_services
885890
parent: serverless
886891
identifier: serverless_app_services
887-
weight: 8
892+
weight: 9
888893
- name: Glossary
889894
url: serverless/glossary
890895
parent: serverless
891896
identifier: serverless_glossary
892-
weight: 9
897+
weight: 10
893898
- name: Guides
894899
url: serverless/guide/
895900
identifier: serverless_guides
896901
parent: serverless
897-
weight: 10
902+
weight: 11
898903
- name: Metrics
899904
url: metrics/
900905
identifier: metrics_top_level

content/en/serverless/_index.md

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ further_reading:
1212
- link: "https://www.datadoghq.com/state-of-serverless"
1313
tag: "Blog"
1414
text: "The State of Serverless"
15-
- link: "/integrations/amazon_xray/"
15+
- link: "/serverless/installation/"
1616
tag: "Documentation"
17-
text: "AWS X-Ray Integration"
17+
text: "Installing Serverless Monitoring"
18+
- link: '/serverless/configuration/'
19+
tag: 'Documentation'
20+
text: 'Configure Serverless Monitoring'
1821
- link: "/integrations/amazon_lambda/"
1922
tag: "Documentation"
2023
text: "AWS Lambda Integration"
@@ -45,18 +48,6 @@ further_reading:
4548

4649
The following section outlines Datadog's solution for monitoring AWS serverless applications and Lambda functions. You can also learn more about support for monitoring [Azure serverless][2] and [Google serverless][3] applications.
4750

48-
## Quick start
49-
50-
If you are new to Datadog, you can get started by [signing up for a Datadog account][4], then following the instructions for [installing Datadog's Lambda Extension][5]. These steps configure your Lambda functions to send real-time metrics, logs, and traces to Datadog:
51-
52-
{{< img src="serverless/aws-fully-managed-services-serverless-monitoring-hero.png" alt="Datadog Serverless Monitoring" style="width:100%;" >}}
53-
54-
## Installation instructions
55-
56-
For more detailed installation instructions, select the Lambda runtime below for instructions to instrument your serverless application:
57-
58-
{{< partial name="serverless/getting-started-languages.html" >}}
59-
6051
## Explore Datadog Serverless Monitoring
6152

6253
### Monitor your entire serverless stack in the Serverless view
@@ -87,13 +78,17 @@ Easily correlate serverless code, configuration, and deployment changes with met
8778

8879
{{< img src="serverless/serverless_deployment_tracking.jpeg" alt="Datadog Serverless Monitoring" style="width:100%;" >}}
8980

81+
## Getting Started
82+
83+
Getting started to monitor your serverless application is quick and easy. See the [installation instructions][4].
84+
9085
## Other serverless clouds
9186

9287
### Azure App Service
9388

9489
The Datadog extension for Azure App Service provides tracing capabilities for Azure Web Apps.
9590

96-
Use the [Azure App Service view][6] to:
91+
Use the [Azure App Service view][5] to:
9792

9893
- Quickly identify apps with high latency or errors
9994

@@ -103,11 +98,11 @@ Use the [Azure App Service view][6] to:
10398

10499
- Map the apps running on your App Service Plans to identify apps that may be impacting costs or performance
105100

106-
The Datadog extension for Azure App Service provides tracing capabilities for Azure Web Apps. For more information about setting up tracing in Azure, see the [Azure App Service Extension documentation][7].
101+
The Datadog extension for Azure App Service provides tracing capabilities for Azure Web Apps. For more information about setting up tracing in Azure, see the [Azure App Service Extension documentation][6].
107102

108103
### Google Cloud Functions
109104

110-
Google Cloud Functions is a lightweight, event-based, asynchronous compute solution that allows you to create small, single-purpose functions. To monitor serverless functions running on Google Cloud Platform, enable the [Google Cloud Platform integration][8].
105+
Google Cloud Functions is a lightweight, event-based, asynchronous compute solution that allows you to create small, single-purpose functions. To monitor serverless functions running on Google Cloud Platform, enable the [Google Cloud Platform integration][7].
111106

112107
## Further Reading
113108

@@ -116,8 +111,7 @@ Google Cloud Functions is a lightweight, event-based, asynchronous compute solut
116111
[1]: http://app.datadoghq.com/functions
117112
[2]: /serverless/#azure-app-service
118113
[3]: /serverless/#google-cloud-functions
119-
[4]: https://app.datadoghq.com/signup/
120-
[5]: https://app.datadoghq.com/signup/agent#lambda
121-
[6]: https://app.datadoghq.com/functions?cloud=azure&config_serverless-azure-app=true&group=service
122-
[7]: /infrastructure/serverless/azure_app_services/#overview
123-
[8]: /integrations/google_cloud_platform/
114+
[4]: /serverless/installation
115+
[5]: https://app.datadoghq.com/functions?cloud=azure&config_serverless-azure-app=true&group=service
116+
[6]: /infrastructure/serverless/azure_app_services/#overview
117+
[7]: /integrations/google_cloud_platform/
Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
title: Deciding to migrate to the Datadog Lambda extension
33
kind: guide
4+
further_reading:
5+
- link: '/serverless/guide/forwarder_extension_migration'
6+
tag: 'Documentation'
7+
text: 'Migrating from the Datadog Forwarder to the Datadog Lambda Extension'
48
---
59

610
## Should I migrate to the Datadog Lambda extension?
@@ -15,34 +19,28 @@ There are some key differences between the Lambda extension and the Forwarder, a
1519

1620
{{< img src="serverless/serverless_monitoring_installation_instructions.png" alt="Instrument AWS Serverless Applications" style="width:100%;">}}
1721

18-
The Lambda extension only supports sending Lambda function telemetry for specific runtimes. The Forwarder is required to collect and add metadata to other AWS service logs, including those from API Gateway, AppSync, and Lambda@Edge.
19-
20-
| Runtime | Extension support | Forwarder support |
21-
| ------- | ----------------- | ----------------- |
22-
| Python | {{< X >}} | {{< X >}} |
23-
| Node.js | {{< X >}} | {{< X >}} |
24-
| Go | {{< X >}} | {{< X >}} |
25-
| Java | {{< X >}} | {{< X >}} |
26-
| .NET | {{< X >}} | |
27-
| Ruby | | {{< X >}} |
28-
| PHP | | |
29-
30-
The Lambda extension can submit Lambda logs, Lambda traces generated by `dd-trace` (not X-Ray), real-time enhanced Lambda metrics, and custom metrics generated by Lambda functions.
22+
Although Lambda extension replaces the Forwarder as the recommended way to collect telemetry from Lambda functions. The Forwarder is required to collect and add metadata to other AWS service logs, including those from API Gateway, AppSync, and Lambda@Edge.
3123

3224
### Advantages
3325

3426
The Datadog Lambda Extension offers the following advantages over the Datadog Forwarder:
3527

36-
- **Simple to set up**: The Forwarder requires triggers to be set up for every new Lambda function. The Datadog Lambda extension can be added as a Lambda layer. Unlike with the Forwarder, configuring the Lambda extension does not require permissions to install third-party AWS CloudFormation stacks. Also, the Lambda extension sends telemetry directly to Datadog, so you do not need to manage CloudWatch Log group subscriptions for your Lambda functions.
37-
- **Less infrastructure to manage**: The simpler configuration of the Lambda extension saves time on infrastructure management. For non-Lambda AWS integrations, the Forwarder is still required.
38-
- **Skip CloudWatch Logs**: The Forwarder converts logs to metrics and traces, which are then sent to Datadog. The Datadog Lambda Extension sends traces, metrics, and logs directly to Datadog, enabling you to reduce the cost associated with CloudWatch Logs.
28+
- **Skip CloudWatch Logs**: The Forwarder extracts telemetry from logs, which are then sent to Datadog. The Datadog Lambda Extension sends telemetry directly to Datadog, enabling you to reduce the cost associated with CloudWatch Logs.
29+
- **Simple to set up**: The Datadog Lambda extension can be added as a Lambda layer and sends telemetry directly to Datadog, so you do not need to set up a subscription filter for every new Lambda function's CloudWatch log group.
3930

4031
### Trade-offs
4132

4233
The extension [adds overhead to your Lambda functions][4], compared to functions that have zero instrumentation. The added overhead affects your AWS bill and Lambda concurrency, and could cause worse cold starts. The majority of the added duration **does not** affect your function's performance. Based on Datadog's latest benchmarking results, the cost overhead is always lower (or about the same when reporting data from remote regions) when using the Lambda extension versus the Forwarder.
4334

35+
## Migrate to the Datadog Lambda Extension
36+
37+
To migrate from the the Datadog Forwarder to the Datadog Lambda Extension, follow these [instructions][5].
38+
## Further Reading
39+
40+
{{< partial name="whats-next/whats-next.html" >}}
4441

4542
[1]: /serverless/libraries_integrations/extension/
4643
[2]: /serverless
4744
[3]: /serverless/libraries_integrations/forwarder/
4845
[4]: /serverless/libraries_integrations/extension/#overhead
46+
[5]: /serverless/guide/forwarder_extension_migration

content/en/serverless/installation/_index.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,31 @@ kind: documentation
44
aliases:
55
- /serverless/installation/installing_the_library/
66
further_reading:
7-
- link: 'serverless/installation/node'
7+
- link: '/serverless/configuration/'
88
tag: 'Documentation'
9-
text: 'Installing Node.js Serverless Monitoring'
10-
- link: 'serverless/installation/ruby'
11-
tag: 'Documentation'
12-
text: 'Installing Ruby Serverless Monitoring'
9+
text: 'Configure Serverless Monitoring'
10+
- link: "/integrations/amazon_lambda/"
11+
tag: "Documentation"
12+
text: "AWS Lambda Integration"
1313
---
1414

1515
## Quick start
1616

17-
If you are new to Datadog, you can get started by [signing up for a Datadog account][5], then following the instructions for [installing Datadog's Lambda Extension][6]. Completing these steps will configure your Lambda functions to send real-time metrics, logs, and traces to Datadog:
18-
19-
{{< img src="serverless/aws-fully-managed-services-serverless-monitoring-hero.png" alt="Datadog Serverless Monitoring" style="width:100%;" >}}
17+
If you are new to Datadog, [sign up for a Datadog account][1], then follow the Datadog Agent installation instructions for _AWS Lambda_. Completing the steps will configure your Lambda functions to send real-time metrics, logs, and traces to Datadog.
2018

2119
## Installation instructions
2220

23-
For more detailed installation instructions, select the Lambda runtime below for instructions to instrument your serverless application:
21+
For more detailed installation instructions, select the Lambda runtime below:
2422

2523
{{< partial name="serverless/getting-started-languages.html" >}}
2624

27-
[5]: https://app.datadoghq.com/signup/
28-
[6]: https://app.datadoghq.com/signup/agent#lambda
25+
## Configurations
26+
27+
Once installed, you can [configure your installation parameters][2] to meet your specific business requirements, such as tagging and scrubbing the collected data.
28+
29+
## Further Reading
30+
31+
{{< partial name="whats-next/whats-next.html" >}}
32+
33+
[1]: https://app.datadoghq.com/signup/
34+
[2]: /serverless/configuration/
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Configure Serverless Monitoring
3+
kind: documentation
4+
further_reading:
5+
- link: '/serverless/installation/'
6+
tag: 'Documentation'
7+
text: 'Installing Serverless Monitoring'
8+
- link: '/serverless/troubleshooting/'
9+
tag: 'Documentation'
10+
text: 'Troubleshoot Serverless Monitoring'
11+
---
12+
13+
Once the Datadog serverless monitoring is [installed][1], you can configure it easily to suit your specific business requirements.
14+
15+
## Data Collection Method
16+
17+
Datadog can collect the monitoring data from your Lambda functions either using the [Forwarder Lambda function][2] or the [Lambda extension][3]. Lambda extension is recommended for new installations. For existing installations using the Forwarder, see [Deciding to migrate to the Datadog Lambda extension][4] for why you should migrate, and follow the [instructions][5] to migrate.
18+
19+
## Datadog Site
20+
21+
If you are
22+
23+
## Datadog API Key
24+
25+
## Unified Service Tagging
26+
27+
TODO: Update samples https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/?tab=kubernetes#aws-lambda-functions
28+
29+
## Lambda Layer Versions
30+
31+
## Metric Collection
32+
33+
## Trace Collection
34+
35+
## Log Collection
36+
37+
## Source Code Integration
38+
39+
## Monitors
40+
41+
## AWS PrivateLink
42+
43+
## Proxy
44+
45+
## Troubleshooting
46+
47+
## Further Reading
48+
49+
{{< partial name="whats-next/whats-next.html" >}}
50+
51+
[1]: /serverless/installation/
52+
[2]: /serverless/libraries_integrations/forwarder/
53+
[3]: /serverless/libraries_integrations/extension/
54+
[4]: /serverless/guide/extension_motivation/
55+
[5]: /serverless/guide/forwarder_extension_migration

0 commit comments

Comments
 (0)