Skip to content

Commit aa6e7ec

Browse files
committed
fix markdown and prettier
Signed-off-by: Severin Neumann <[email protected]>
1 parent 8236026 commit aa6e7ec

File tree

1 file changed

+19
-19
lines changed
  • content/en/blog/2025/observing-lambdas

1 file changed

+19
-19
lines changed

content/en/blog/2025/observing-lambdas/index.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: Observing Lambdas using the OpenTelemetry Collector Extension Layer
33
author: '[Dominik Süß](https://github.com/theSuess) (Grafana)'
44
linkTitle: Observing Lambdas
55
date: 2025-02-05
6-
cSpell:ignore: Dominik
76
sig: FaaS
87
issue: 5961
8+
cSpell:ignore: Dominik
99
---
1010

1111
Getting telemetry data out of modern applications is very straightforward (or at
@@ -78,25 +78,24 @@ need to be configured. As an example, the configuration shown next receives
7878
traces and logs from the Telemetry API and sends them to another endpoint.
7979

8080
```yaml
81-
8281
receivers:
83-
telemetryapi:
82+
telemetryapi:
8483
exporters:
85-
otlphttp/external:
86-
endpoint: "external-collector:4318"
84+
otlphttp/external:
85+
endpoint: 'external-collector:4318'
8786
processors:
88-
batch:
89-
decouple:
87+
batch:
88+
decouple:
9089
service:
91-
pipelines:
92-
traces:
93-
receivers: [telemetryapi]
94-
processors: [batch,decouple]
95-
exporters: [otlphttp/external]
96-
logs:
97-
receivers: [telemetryapi]
98-
processors: [batch,decouple]
99-
exporters: [otlphttp/external]
90+
pipelines:
91+
traces:
92+
receivers: [telemetryapi]
93+
processors: [batch, decouple]
94+
exporters: [otlphttp/external]
95+
logs:
96+
receivers: [telemetryapi]
97+
processors: [batch, decouple]
98+
exporters: [otlphttp/external]
10099
```
101100
102101
The `decouple` processor is configured by default if omitted. It is explicitly
@@ -116,9 +115,10 @@ function logs appear! You can see this in action in the video below.
116115

117116
Every log line your Lambda produces will be sent to the `external-collector`
118117
endpoint specified. You don't need to modify the code at all! From there,
119-
telemetry data flows to your backend as usual. Since the transmission of telemetry
120-
data might be frozen when the lambda is not active, logs can arrive delayed.
121-
They'll either arrive during the next execution or during the shutdown interval.
118+
telemetry data flows to your backend as usual. Since the transmission of
119+
telemetry data might be frozen when the lambda is not active, logs can arrive
120+
delayed. They'll either arrive during the next execution or during the shutdown
121+
interval.
122122

123123
If you want further insight into your applications, also see the
124124
[language specific auto instrumentation layers](https://github.com/open-telemetry/opentelemetry-lambda/?tab=readme-ov-file#extension-layer-language-support).

0 commit comments

Comments
 (0)