Skip to content

provide comprehenisve observability via Grafana#2

Merged
makomweb merged 5 commits intomasterfrom
martin/otel
Apr 5, 2026
Merged

provide comprehenisve observability via Grafana#2
makomweb merged 5 commits intomasterfrom
martin/otel

Conversation

@makomweb
Copy link
Copy Markdown
Owner

@makomweb makomweb commented Apr 5, 2026

  • enable tracing in the frontend
  • propagate context: frontend → API → worker (distributed tracing)
  • update dependencies
  • document OTel integration via arc42 template

makomweb and others added 4 commits April 2, 2026 16:26
Initialize the OTel SDK in main.tsx before React app renders. This activates:
- Automatic trace collection for HTTP fetch calls
- Automatic instrumentation of page load timing
- Trace context propagation to backend via W3C traceparent header
- Metrics and logs collection to OTLP collector

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Section 4 (Solution Strategy): Added overview with key strategic decisions
- Section 8 (Crosscutting Concepts): Added comprehensive OTel documentation
  - Architecture overview
  - Trace context propagation flow
  - Configuration details for all services
  - Auto-instrumentation packages
  - Environment variables
  - Use cases and viewing traces in Grafana
  - Related files and standards

This documents the distributed tracing implementation across frontend,
backend, and worker services using OpenTelemetry with W3C Trace Context.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 5, 2026

Codecov Report

❌ Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.73%. Comparing base (4d0198a) to head (c3f4762).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
backend/src/Message/EventPersisted.php 0.00% 8 Missing ⚠️
backend/src/Listener/EventStoredNotifier.php 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master       #2      +/-   ##
============================================
+ Coverage     37.69%   37.73%   +0.03%     
+ Complexity      367      366       -1     
============================================
  Files            89       89              
  Lines          1024     1023       -1     
============================================
  Hits            386      386              
+ Misses          638      637       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@makomweb makomweb merged commit 6006660 into master Apr 5, 2026
2 checks passed
@makomweb makomweb deleted the martin/otel branch April 5, 2026 18:09
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.

1 participant