Implement observability signals using OTEL #10

Open
opened 2025-10-08 00:37:47 -03:00 by dunossauro · 2 comments
Member

In @gutocarvalho 's notes, we have references to important observability signals like metrics, traces, and profiling. I think it would be a good idea to use OTEL (OpenTelemetry) for this, as it allows us to easily enable and disable observability signals using environment variables. Additionally, since we're using FastAPI, it already has the necessary contributions to both receive and send these signals.

We need to investigate if it's possible to deploy an OTEL collector in the infrastructure to redirect these signals appropriately. In the development environment, we can use the otel-lgtm image, which provides all the necessary services and is easy to test to ensure everything is being sent as expected.

In @gutocarvalho 's [notes](https://notes.bolha.tools/zukjODRTREWVBIca9d2vAQ#2-Observabilidade), we have references to important observability signals like metrics, traces, and profiling. I think it would be a good idea to use **OTEL (OpenTelemetry)** for this, as it allows us to easily enable and disable observability signals using environment variables. Additionally, since we're using **FastAPI**, it already has the necessary contributions to both receive and send these signals. We need to investigate if it's possible to deploy an OTEL collector in the infrastructure to redirect these signals appropriately. In the development environment, we can use the [**otel-lgtm**](https://github.com/grafana/docker-otel-lgtm) image, which provides all the necessary services and is easy to test to ensure everything is being sent as expected.
Owner

Just to add to this, one of the reasons for using Deno in the frontend project is the OTEL integration ( see https://docs.deno.com/runtime/fundamentals/open_telemetry/ ).

So I agree on having an OTEL colector.

Just to add to this, one of the reasons for using Deno in the frontend project is the OTEL integration ( see https://docs.deno.com/runtime/fundamentals/open_telemetry/ ). So I agree on having an OTEL colector.
Owner

+1 for otel.

+1 for otel.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: vitae/backend-vitae#10
No description provided.