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
f6be21c816
remove: removed test results
...
Former-commit-id: 62407b0c740168623a8b27d4f71c357954d225e5
2025-10-08 00:02:44 +02:00
Marc Schäfer
7d62b6ceb3
fix: Update observability documentation to correct code block syntax and improve clarity
...
Former-commit-id: d91c6ef1689922799125d25db8ac841f41ff3fd6
2025-10-08 00:00:56 +02:00
Marc Schäfer
27342ddf18
chore: Update docker-compose.metrics.yml for improved service configuration
...
Former-commit-id: 59e8d79404f57428ecf2f38111b685c3608238e5
2025-10-07 23:55:47 +02:00
Marc Schäfer
8e2f2b5acb
fix: Remove unnecessary blank line in prometheus.yml
...
Former-commit-id: d907ae9e84637cd8976915983c5734f7d96acb7a
2025-10-07 23:55:23 +02:00
Marc Schäfer
c03f64a524
feat: Add Grafana dashboard and Prometheus datasource configuration files
...
Former-commit-id: d745aa79d4c0873c709d31aade0fc510f8198b7b
2025-10-07 18:45:40 +02:00
Marc Schäfer
20068aa974
fix: Update observability documentation to clarify resource attributes and scraping strategy
...
Former-commit-id: 427ab67bb5391670092669f482a2859f9e493cc5
2025-10-07 18:45:02 +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
1561554fec
fix: Update otel-collector.yaml and docker-compose to correct endpoint configurations and enhance resource detection
...
Former-commit-id: f8fd8e1bc50924a8dda0228624f616a599aaf00a
2025-10-07 17:53:55 +02:00
Marc Schäfer
2f3be0a543
fix: Update otel-collector.yaml to correct resource attribute checks and streamline processor/exporter configuration
...
Former-commit-id: 0b5e662abc9b269e8e7e4c9a018ed1c020734288
2025-10-07 12:37:44 +02:00
Marc Schäfer
06963e01fc
feat: Add .env.example file and update docker-compose to use environment variables
...
Former-commit-id: bd55269b39131a111c5070c763bf9d1718b1f2f0
2025-10-07 12:37:16 +02:00
Marc Schäfer
f859430fcd
chore: Update OpenTelemetry collector image to version 0.136.0
...
Former-commit-id: 3e9c74a65b1a9170cccab56b5d224ccd28e494ac
2025-10-07 11:51:13 +02:00
Marc Schäfer
cf7ae26a39
chore: Update Dockerfile to enhance Go proxy settings and optimize build process
...
Former-commit-id: 922591b26928d3125977e13e5d9cdf5b87cff3a8
2025-10-07 11:36:23 +02:00
Marc Schäfer
a3c20711a3
chore: No code changes made to the Dockerfile
...
Former-commit-id: cfe52caa4a89db9fb4e4ec2eaf8e473106d81cce
2025-10-07 11:30:53 +02:00
Marc Schäfer
8dc644ca48
feat: Update Dockerfile to include installation of git and ca-certificates
...
Former-commit-id: d31d08c1c8d08ac62d973e004ba63d71e1d1af97
2025-10-07 11:25:07 +02:00
Marc Schäfer
044fd996fb
feat: Add Docker Compose configuration for OpenTelemetry collector and Prometheus
...
Former-commit-id: 9ac4cee48d55b0636c0bcd6ba998828f49e89703
2025-10-07 11:09:20 +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
e7ed6a4a03
Add OpenTelemetry configuration and observability documentation
...
Former-commit-id: 0f83489f11c74f04561ce996f43652d24dd59f9f
2025-10-07 09:16:44 +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
Marc Schäfer
003b020037
Refactor WireGuard and netstack services for telemetry integration
...
Former-commit-id: 8f7f9c417ce3e68fa2a2cc08a364a5ab5aaab671
2025-10-07 09:13:05 +02:00
Marc Schäfer
f35ec7e014
Instrument authentication and WebSocket connection logic for telemetry events
...
Former-commit-id: 660adcc72d12d7b3466d65750032c5c3c3a74a21
2025-10-07 09:13:04 +02:00
Marc Schäfer
1092c64e15
Add tunnel latency and reconnect telemetry to ping logic
...
Former-commit-id: 0d55e35784b850fd8847a46fe1653d69c1466e1e
2025-10-07 09:13:04 +02:00
Marc Schäfer
b0be472cc0
Refactor ProxyManager for per-tunnel metrics, async bytes collection, and session counting
...
Former-commit-id: ceef228665e88233b159b9273adf75d454ea4723
2025-10-07 09:13:03 +02:00
Marc Schäfer
88c7fa097e
Integrate tunnel metrics and telemetry reporting throughout main application logic
...
Former-commit-id: 496ff0734c9d476927fd4e51b641a0891ddb06bd
2025-10-07 09:13:03 +02:00
Marc Schäfer
845bb0a09f
Initialize telemetry and start admin HTTP server for metrics export
...
Former-commit-id: a89f13870ca11ab6813a668228123efee42da229
2025-10-07 09:13:03 +02:00
Marc Schäfer
5d175ea926
Add flags and environment variables for telemetry and metrics configuration
...
Former-commit-id: 85394d3255d1f7c22e21f2b87d4619da6fc6ae21
2025-10-07 09:13:02 +02:00
Marc Schäfer
26d78f749a
Expose admin/metrics endpoint in Dockerfile
...
Former-commit-id: 0405aebb45490da598bd1bb70026893d39670a06
2025-10-07 09:13:02 +02:00
Marc Schäfer
d96389a227
Update dependencies for telemetry and metrics support
...
Former-commit-id: 9c0f4599b8667d6955b0c32ae549d81f66a05598
2025-10-07 09:13:01 +02:00
Owen
f39ea4d93a
Try to fix overwriting config file
...
Former-commit-id: 348b8f6b94
2025-10-01 10:31:14 -07:00
miloschwartz
e10af9a0f9
update template
...
Former-commit-id: 71c5bf7e65
2025-09-29 16:38:49 -07:00
Owen
34a2ab7fc3
Add timeouts to hp
...
Former-commit-id: dda0b414cc
2025-09-29 14:55:26 -07:00
Owen
b4b59fab7c
Add no cloud option
...
Former-commit-id: 8f224e2a45
2025-09-29 12:25:07 -07:00
Owen Schwartz
70904cc5b7
Merge pull request #148 from fosrl/dependabot/go_modules/github.com/docker/docker-28.4.0incompatible
...
Bump github.com/docker/docker from 28.3.3+incompatible to 28.4.0+incompatible
Former-commit-id: 90243cd6c6
2025-09-28 17:58:58 -07:00
Owen Schwartz
7b7270affa
Merge pull request #153 from fosrl/dev
...
Dev
Former-commit-id: 9b79af10ed
2025-09-28 17:58:38 -07:00
Owen
606a549b87
Merge branch 'dev' into docker-events
...
Former-commit-id: 31b1ffcbe9
2025-09-28 17:44:09 -07:00
dependabot[bot]
8f3b5d3a5d
Bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 28.3.3+incompatible to 28.4.0+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.3.3...v28.4.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-version: 28.4.0+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Former-commit-id: f1c4e1db71
2025-09-28 23:31:05 +00:00
Owen
71756a236d
Merge branch 'main' into dev
...
Former-commit-id: 72a61d0933
1.5.1
2025-09-28 16:27:05 -07:00
Owen
b3105fa077
Merge branch 'main' of github.com:fosrl/newt
...
Former-commit-id: e489a2cc66
2025-09-28 16:26:58 -07:00
Owen
15ba03b1c5
Pick up the existing interface private key
...
Former-commit-id: 4e648af8e9
2025-09-28 16:26:36 -07:00
Owen
6af90c18a8
Fix generateAndSaveKeyTo
...
Former-commit-id: 5d891225de
2025-09-28 11:28:31 -07:00
Owen Schwartz
0f1a06f32d
Merge pull request #152 from didotb/didotb-docs-blueprint-file
...
docs: Add blueprint-file as a new cli arg and env var
Former-commit-id: 9864965381
2025-09-25 18:08:50 -07:00
Owen
0609f57cb0
Add logging to config
...
Former-commit-id: 75f6362a90
2025-09-25 17:18:28 -07:00
Andrew Barrientos
7df4624a29
docs: Add new cli arg and env var
...
Include blueprint-file as an option in the cli arguments and environment variable
Former-commit-id: 30907188fb
2025-09-26 06:46:32 +08:00
Owen Schwartz
26ebd03310
Merge pull request #147 from marcschaeferger/Dependency-Update-09-25
...
Golang Dependency Update 09-2025
Former-commit-id: 5f11df8df2
2025-09-21 20:10:13 -04:00
Owen Schwartz
d0f612a4a5
Merge pull request #146 from marcschaeferger/github-actions
...
fix(gh-actions): Workflow does not contain permissions
Former-commit-id: 7eea6dd335
2025-09-21 20:09:35 -04:00
Marc Schäfer
1b2ec74395
fix(deps): add missing gopkg.in/yaml.v3 v3.0.1 back
...
Former-commit-id: 9dc5a3d91c
2025-09-22 00:40:18 +02:00
Marc Schäfer
991cc775d0
chore(deps): update golang.org/x/crypto to v0.42.0, golang.org/x/net to v0.44.0, and golang.org/x/sys to v0.36.0
...
Former-commit-id: 1881309148
2025-09-22 00:30:33 +02:00
Marc Schäfer
2cbc080242
fix(gh-actions): Workflow does not contain permissions
...
Former-commit-id: aff928e60f
2025-09-22 00:22:42 +02:00
Marc Schäfer
3c2a1b9235
Merge pull request #1 from marcschaeferger/dependabot/go_modules/golang.org/x/net-0.44.0
...
Bump golang.org/x/net from 0.43.0 to 0.44.0
Former-commit-id: fd6b1ae323
2025-09-21 21:47:59 +02:00