Marc Schäfer
9f682c3a5f
fix(telemetry): adapt to RegisterCallback returning (Registration, error)
...
Former-commit-id: f28d90595ba47cbb54c3b8a1515da7cd0c47400f
2025-10-08 00:46:41 +02:00
Marc Schäfer
eb87b24d13
fix(metrics): direction=ingress|egress for bytes; remove transport on tunnel_sessions; extend allow-list (msg_type, phase); add units for histograms and bytes; handle callback errors; normalize error_type taxonomy; HTTP error mapping to enums
...
Former-commit-id: 9ace45e71f388477d493eb87d9b9758d4a43290e
2025-10-08 00:43:53 +02:00
Marc Schäfer
61489d46cd
feat(phase2): websocket connect latency and message counters; proxy active/buffer/drops gauges and counters; config apply histogram; reconnect initiator label; update call-sites
...
Former-commit-id: d74065a71b0b9558caeab5ede4bc0c05a483692e
2025-10-08 00:30:07 +02:00
Marc Schäfer
0c51a6d498
test(telemetry): assert allowed attribute site_id appears in metrics exposition
...
Former-commit-id: 31f70e50320ada1b37044158d8cbfe48d9748391
2025-10-08 00:10:17 +02:00
Marc Schäfer
cbc7931bc4
feat(telemetry/state_view): add site_id label to gauges and set tunnel_sessions transport=wireguard (no hardcoded tcp)
...
Former-commit-id: 83c3ae5cf950416fe4d72ba8ead309c183487a21
2025-10-08 00:09:30 +02:00
Marc Schäfer
3461fe2e09
feat(telemetry,metrics): allow site_id/region in attribute filter; read site_id from NEWT_SITE_ID/NEWT_ID or OTEL_RESOURCE_ATTRIBUTES; propagate site_id/region labels across metrics; include site labels in build_info; seed global site info
...
Former-commit-id: 1e88fb86b40ec6c774a8f1a7e7f01ddad8787ffc
2025-10-08 00:09:17 +02:00
Marc Schäfer
2a80d1fd45
refactor: Simplify telemetry metrics by removing site_id and enhancing tunnel_id usage
...
Former-commit-id: a86b14d97dbea5610705141fa8b8b6fea625b036
2025-10-07 18:43:09 +02:00
Marc Schäfer
172b2816db
feat: Implement telemetry for reconnect reasons and RTT reporting
...
- Added telemetry hooks to track reconnect reasons for WireGuard connections, including server requests and authentication errors.
- Introduced RTT reporting to telemetry for better latency monitoring.
- Enhanced metrics configuration with flags for Prometheus and OTLP exporters.
- Implemented graceful shutdown and signal handling in the main application.
- Updated WebSocket client to classify connection errors and report them to telemetry.
- Added support for async byte counting in metrics.
- Improved handling of reconnect scenarios in the WireGuard service.
- Added documentation for applying patches and rollback procedures.
Former-commit-id: b53fb70778908560154c56323d7cc0e136186c88
2025-10-07 09:17:05 +02:00
Marc Schäfer
984320dc27
Implement TelemetryView for thread-safe session management and observability
...
Former-commit-id: 09e9bd9493b9e52df854772992ee5c5390b49e22
2025-10-07 09:16:17 +02:00
Marc Schäfer
5fba5a110c
Add telemetry metrics and constants for improved observability
...
Former-commit-id: 2d4f656852f69cc5466ba76363d8301f07aec354
2025-10-07 09:15:36 +02:00