Skip to content

Commit ffaa90d

Browse files
weltekialexellis
authored andcommitted
Expand post content overview
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
1 parent 660c057 commit ffaa90d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

_posts/2025-05-12-trace-functions-with-opentelemetry.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ hide_header_image: true
1515

1616
[OpenTelemetry](https://opentelemetry.io/) is an open-source framework for collecting, generating, and exporting telemetry data like traces, metrics, and logs, from applications to help monitor and troubleshoot them. In this article we show you how to capture traces from your OpenFaaS functions.
1717

18-
![](/images/2025-05-opentelemetry/db-access-trace-detail.png)
18+
![Screenshot of a trace visualization in Grafana](/images/2025-05-opentelemetry/db-access-trace-detail.png)
1919

2020
OpenFaaS functions can be instrumented manually by either explicitly adding code to the function to capture telemetry data or, for supported languages, by leveraging [auto-instrumentation](https://opentelemetry.io/docs/zero-code/). Auto-instrumentation uses built in tools or agents to automatically collect telemetry without changing your function code.
2121

@@ -34,12 +34,16 @@ However tracing comes with some trade-offs as well. It requires additional infra
3434
![Diagram showing the different components involved in collecting traces from functions.](/images/2025-05-opentelemetry/function-otel-collection-diagram.png)
3535
> Diagram showing the different components involved in collecting traces from functions.
3636
37-
In this tutorial we are going to:
37+
## What we'll cover
38+
39+
This tutorial shows you how to use OpenTelemetry to capture traces from OpenFaaS functions, helping you debug issues and optimize performance. We'll use zero-code instrumentation to keep things simple, setting up a tracing pipeline with open-source tools. Here's what we'll cover:
3840

3941
- Deploy [Grafana Tempo](https://grafana.com/oss/tempo/) as the backend for storing traces.
4042
- Run and configure [Grafana Alloy](https://grafana.com/oss/alloy-opentelemetry-collector/) as a [Collector](https://opentelemetry.io/docs/collector/) for traces.
41-
- Capture telemetry from functions using zero-code instrumentation.
42-
43+
- Instrument Node.js and Python functions without making changes to the function code.
44+
- Explore and visualize traces with Grafana.
45+
- Extend an auto-instrumented function with additional custom spans.
46+
- How to use OpenTelemetry with OpenFaaS Edge.
4347

4448
## Prepare the cluster for telemetry collection
4549

0 commit comments

Comments
 (0)