Commit Graph

5 Commits

Author SHA1 Message Date
Zoltán Papp
08295e5116 Delete otel lib from client 2026-01-28 17:35:10 +01:00
Zoltán Papp
cbfde79dd8 Reset connection stage timestamps during reconnections to exclude unnecessary metrics tracking 2026-01-28 17:18:22 +01:00
Zoltán Papp
bb377a2885 Merge main branch into feature/client-metrics 2026-01-22 18:03:13 +01:00
Zoltán Papp
e3a5c44d37 Add client metrics system with OpenTelemetry and VictoriaMetrics support
Implements a comprehensive client metrics system to track peer connection
stages and performance. The system supports multiple backend implementations
(OpenTelemetry, VictoriaMetrics, and no-op) and tracks detailed connection
stage durations from creation through WireGuard handshake.

Key changes:
- Add metrics package with pluggable backend implementations
- Implement OpenTelemetry metrics backend
- Implement VictoriaMetrics metrics backend
- Add no-op metrics implementation for disabled state
- Track connection stages: creation, semaphore, signaling, connection ready, and WireGuard handshake
- Move WireGuard watcher functionality to conn.go
- Refactor engine to integrate metrics tracking
- Add metrics export endpoint in debug server
2026-01-15 22:17:54 +01:00
Zoltán Papp
c5eb5ba1c6 Add client metrics 2026-01-12 12:48:26 +01:00