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
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
78
78
traces and logs from the Telemetry API and sends them to another endpoint.
79
79
80
80
```yaml
81
-
82
81
receivers:
83
-
telemetryapi:
82
+
telemetryapi:
84
83
exporters:
85
-
otlphttp/external:
86
-
endpoint: "external-collector:4318"
84
+
otlphttp/external:
85
+
endpoint: 'external-collector:4318'
87
86
processors:
88
-
batch:
89
-
decouple:
87
+
batch:
88
+
decouple:
90
89
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]
100
99
```
101
100
102
101
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.
116
115
117
116
Every log line your Lambda produces will be sent to the `external-collector`
118
117
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.
122
122
123
123
If you want further insight into your applications, also see the
124
124
[language specific auto instrumentation layers](https://github.com/open-telemetry/opentelemetry-lambda/?tab=readme-ov-file#extension-layer-language-support).
0 commit comments