Skip to content

Commit da4eaf7

Browse files
mheffnerdhtclk
andauthored
Apply suggestions from code review
Co-authored-by: Dominic Tran <[email protected]>
1 parent f6a2bbc commit da4eaf7

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

docs/use-cases/observability/clickstack/integration-examples/aws-lambda.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
slug: /use-cases/observability/clickstack/integrations/aws-lambda
3-
title: 'Monitoring AWS Lambda Logs with ClickStack'
3+
title: 'Monitoring AWS Lambda Logs with ClickStack using Rotel'
44
sidebar_label: 'AWS Lambda Logs'
55
pagination_prev: null
66
pagination_next: null
7-
description: 'Monitoring AWS Lambda Logs with ClickStack'
7+
description: 'Monitoring AWS Lambda Logs with ClickStack using Rotel'
88
doc_type: 'guide'
99
keywords: ['AWS', 'Lambda', 'OTEL', 'ClickStack', 'logs', 'CloudWatch']
1010
---
@@ -13,19 +13,17 @@ import Image from '@theme/IdealImage';
1313
import useBaseUrl from '@docusaurus/useBaseUrl';
1414
import log_view from '@site/static/images/clickstack/lambda/lambda-log-view.png';
1515
import log from '@site/static/images/clickstack/lambda/lambda-log.png';
16-
import { TrackedLink } from '@site/src/components/GalaxyTrackedLink/GalaxyTrackedLink';
1716

18-
# Monitoring AWS Lambda Logs with ClickStack {#lambda-clickstack}
17+
# Monitoring AWS Lambda Logs with ClickStack using Rotel {#lambda-clickstack}
1918

2019
:::note[TL;DR]
2120
This guide shows you how to monitor AWS Lambda functions with ClickStack by using the Rotel Lambda Extension to collect and forward function logs, extension logs, and OpenTelemetry data directly to ClickHouse. You'll learn how to:
2221

2322
- Deploy the Rotel Lambda Extension layer to your Lambda functions
2423
- Configure the extension to export logs and traces to ClickStack
2524
- Optionally disable CloudWatch Logs to reduce costs
26-
- Use pre-built dashboards to visualize Lambda metrics (invocations, errors, duration, cold starts)
2725

28-
This approach can **significantly reduce your Lambda observability costs** by bypassing CloudWatch Logs entirely.
26+
This approach can significantly reduce your Lambda observability costs by bypassing CloudWatch Logs entirely.
2927

3028
Time Required: 5-10 minutes
3129
:::
@@ -99,7 +97,7 @@ Resources:
9997
10098
The Rotel Lambda Extension is configured using environment variables. You need to configure the OTLP exporter endpoint to point to your ClickStack instance. The examples assume your AWS Lambda function is able to reach the ClickStack instance.
10199
102-
##### Basic Configuration (Environment Variables) {#basic-config}
100+
##### Basic configuration (environment variables) {#basic-config}
103101
104102
Add these environment variables to your Lambda function:
105103
@@ -114,7 +112,7 @@ ROTEL_OTLP_EXPORTER_CUSTOM_HEADERS="Authorization=<YOUR_INGESTION_API_KEY>"
114112
ROTEL_OTEL_RESOURCE_ATTRIBUTES="service.name=my-lambda-api,service.version=1.0.0"
115113
```
116114

117-
##### Advanced Configuration (Using .env file) {#advanced-config}
115+
##### Advanced configuration (using .env file) {#advanced-config}
118116

119117
For more complex configurations, create a `rotel.env` file in your Lambda function bundle:
120118

@@ -220,7 +218,7 @@ Look for these key attributes in the logs:
220218

221219
</VerticalStepper>
222220

223-
## Disabling CloudWatch Logs (Cost Optimization) {#disable-cloudwatch}
221+
## Disabling CloudWatch Logs (cost optimization) {#disable-cloudwatch}
224222

225223
By default, AWS Lambda sends all logs to CloudWatch Logs, which can be expensive at scale. Once you've verified that logs are flowing to ClickStack, you can disable CloudWatch logging to reduce costs.
226224

docs/use-cases/observability/clickstack/integration-examples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ Several of these integration guides use ClickStack's built-in OpenTelemetry Coll
2626
| [PostgreSQL Metrics](/use-cases/observability/clickstack/integrations/postgresql-metrics) | Quick start guide for PostgreSQL Metrics |
2727
| [Redis Logs](/use-cases/observability/clickstack/integrations/redis) | Quick start guide for Redis Logs |
2828
| [Redis Metrics](/use-cases/observability/clickstack/integrations/redis-metrics) | Quick start guide for Redis Metrics |
29-
| [AWS Lambda Logs](/use-cases/observability/clickstack/integrations/aws-lambda) | Quick start guide for AWS Lambda Logs |
29+
| [AWS Lambda Logs using Rotel](/use-cases/observability/clickstack/integrations/aws-lambda) | Quick start guide for AWS Lambda Logs using Rotel |

0 commit comments

Comments
 (0)