Skip to content

Add opentelemetry configurations - #1209

Open
ninetteadhikari wants to merge 2 commits into
aula-app:mainfrom
neighbourhoodie:opentelemetry
Open

Add opentelemetry configurations#1209
ninetteadhikari wants to merge 2 commits into
aula-app:mainfrom
neighbourhoodie:opentelemetry

Conversation

@ninetteadhikari

Copy link
Copy Markdown

🤖 Resolves

👋 Intro

This PR is in response to the issue https://github.com/aula-app/infra/issues/21 to add opentelemetry to monitor traces for frontend.
The frontend (React/Vite) uses the OpenTelemetry Web SDK to instrument browser activity. Network requests for example are automatically traced and linked to backend through OpenTelemetry trace.

It installs opentelemetry packages and adds a config file to register traces endpoint. The endpoint is added as https://neu.aula.de/traces/insert/opentelemetry/v1/traces. This forwards data that can be used by Victoria Traces in the infra repo to display traces data on VictoriaTraces.

🕵️ Context

📋 Checklist

  • Tested manually
  • Added e2e tests for new functionality
  • GitHub issue linked
  • Changelist updated
  • Backward and forward compatible with aula-backend/releases
  • Doesn't need update in the database or BE
  • Must be deployed ASAP (HOTFIX)
  • Needs update of docs.aula.de (repo)

📸 Screenshot

Comment thread yarn.lock Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants