Commit Graph

  • fb110ba2a1 Merge pull request #156 from fosrl/dependabot/go_modules/prod-minor-updates-51461da29c Owen Schwartz 2025-10-08 17:40:23 -07:00
  • bd6d0c54c9 Merge pull request #156 from fosrl/dependabot/go_modules/prod-minor-updates-51461da29c Owen Schwartz 2025-10-08 17:40:23 -07:00
  • f287888480 Bump the prod-minor-updates group across 1 directory with 2 updates dependabot[bot] 2025-10-08 09:23:09 +00:00
  • 41e0d4fd97 Bump the prod-minor-updates group across 1 directory with 2 updates dependabot[bot] 2025-10-08 09:23:09 +00:00
  • 54599899dd fix(wgtester): improve logging format for consistency and clarity Marc Schäfer 2025-10-08 08:14:35 +02:00
  • fb3f7ab29f fix(main): refactor logging messages and introduce constants for improved readability Marc Schäfer 2025-10-08 08:14:25 +02:00
  • 0c3de24b2b fix(websocket): improve error type handling in connection establishment and ping monitoring Marc Schäfer 2025-10-08 08:14:04 +02:00
  • d09ae97d67 fix(sonar-telemetry): update observeSessionsFor function to include siteID and improve attribute handling Marc Schäfer 2025-10-08 08:13:35 +02:00
  • c364ba0a0b fix(docker-compose): update comments in metrics configuration for clarity and consistency Marc Schäfer 2025-10-08 08:12:58 +02:00
  • 20fa84208d fix(telemetry): update proxyStopper to be a no-op function when registration fails Marc Schäfer 2025-10-08 08:12:20 +02:00
  • c5e25d7c36 fix(docker-compose): update newt service configuration to use local build and environment file Marc Schäfer 2025-10-08 07:34:27 +02:00
  • afe687c781 fix(telemetry): improve error handling and formatting in telemetry setup functions Marc Schäfer 2025-10-08 07:33:11 +02:00
  • 5071489fae docs(observability): update code blocks to specify language for better syntax highlighting Marc Schäfer 2025-10-08 01:12:51 +02:00
  • 9d62e2d110 fix(sonar): SetObservableCallback uses unregister stopper instead of empty function to satisfy S1186 Marc Schäfer 2025-10-08 01:09:18 +02:00
  • 221db4709b fix(build): use Registration.Unregister() without context; return tracer shutdown func from setupTracing Marc Schäfer 2025-10-08 01:07:08 +02:00
  • 166335b30d refactor(telemetry): reduce cognitive complexity by splitting registerInstruments and Init; add unregister stoppers; extract state_view helpers Marc Schäfer 2025-10-08 01:06:13 +02:00
  • 781ab23aef docs(README): add Observability Quickstart section and link to docs/observability.md Marc Schäfer 2025-10-08 01:01:33 +02:00
  • 38b52b0fbd docs: add Quickstart in observability; examples: add docker-compose.metrics.collector.yml and prometheus.with-collector.yml (collector-only scrape) Marc Schäfer 2025-10-08 00:58:30 +02:00
  • 9db7da4426 feat(metrics): NEWT_METRICS_INCLUDE_TUNNEL_ID toggle; conditionally drop tunnel_id across bytes/sessions/proxy/reconnect; docs and smoke test updated; examples/prometheus.yml with relabels; docker-compose defaults avoid double-scrape Marc Schäfer 2025-10-08 00:53:40 +02:00
  • 9f682c3a5f fix(telemetry): adapt to RegisterCallback returning (Registration, error) Marc Schäfer 2025-10-08 00:46:41 +02:00
  • 7f6d518604 docs+examples: document direction=ingress|egress, initiator and error_type enums; add cardinality relabel tips; provide Collector variants; add scripts/smoke-metrics.sh Marc Schäfer 2025-10-08 00:46:01 +02:00
  • 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 Marc Schäfer 2025-10-08 00:43:53 +02:00
  • 967e8e6e4b fix: update IncReconnect for auth failures; import metric in proxy manager for observable callback Marc Schäfer 2025-10-08 00:32:39 +02:00
  • 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 Marc Schäfer 2025-10-08 00:30:07 +02:00
  • 0e4e2a6ca2 docs: update observability catalog to include site_id labels and clarify transport vs protocol; add METRICS_RECOMMENDATIONS.md with roadmap and ops guidance Marc Schäfer 2025-10-08 00:10:54 +02:00
  • 0c51a6d498 test(telemetry): assert allowed attribute site_id appears in metrics exposition Marc Schäfer 2025-10-08 00:10:17 +02:00
  • ab83c071f8 feat(proxy): add site_id (and optional region) to bytes attribute sets for tunnel metrics Marc Schäfer 2025-10-08 00:10:03 +02:00
  • f9b824d227 fix(main): remove duplicate ClearTunnelID/State and call telemetry.UpdateSiteInfo after resolving client ID Marc Schäfer 2025-10-08 00:09:44 +02:00
  • cbc7931bc4 feat(telemetry/state_view): add site_id label to gauges and set tunnel_sessions transport=wireguard (no hardcoded tcp) Marc Schäfer 2025-10-08 00:09:30 +02:00
  • 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 Marc Schäfer 2025-10-08 00:09:17 +02:00
  • f6be21c816 remove: removed test results Marc Schäfer 2025-10-08 00:02:44 +02:00
  • 7d62b6ceb3 fix: Update observability documentation to correct code block syntax and improve clarity Marc Schäfer 2025-10-08 00:00:56 +02:00
  • 27342ddf18 chore: Update docker-compose.metrics.yml for improved service configuration Marc Schäfer 2025-10-07 23:55:47 +02:00
  • 8e2f2b5acb fix: Remove unnecessary blank line in prometheus.yml Marc Schäfer 2025-10-07 23:55:23 +02:00
  • c03f64a524 feat: Add Grafana dashboard and Prometheus datasource configuration files Marc Schäfer 2025-10-07 18:45:40 +02:00
  • 20068aa974 fix: Update observability documentation to clarify resource attributes and scraping strategy Marc Schäfer 2025-10-07 18:45:02 +02:00
  • 2a80d1fd45 refactor: Simplify telemetry metrics by removing site_id and enhancing tunnel_id usage Marc Schäfer 2025-10-07 18:43:09 +02:00
  • 1561554fec fix: Update otel-collector.yaml and docker-compose to correct endpoint configurations and enhance resource detection Marc Schäfer 2025-10-07 17:53:55 +02:00
  • 2f3be0a543 fix: Update otel-collector.yaml to correct resource attribute checks and streamline processor/exporter configuration Marc Schäfer 2025-10-07 12:37:44 +02:00
  • 06963e01fc feat: Add .env.example file and update docker-compose to use environment variables Marc Schäfer 2025-10-07 12:37:16 +02:00
  • f859430fcd chore: Update OpenTelemetry collector image to version 0.136.0 Marc Schäfer 2025-10-07 11:51:13 +02:00
  • cf7ae26a39 chore: Update Dockerfile to enhance Go proxy settings and optimize build process Marc Schäfer 2025-10-07 11:36:23 +02:00
  • a3c20711a3 chore: No code changes made to the Dockerfile Marc Schäfer 2025-10-07 11:30:53 +02:00
  • 8dc644ca48 feat: Update Dockerfile to include installation of git and ca-certificates Marc Schäfer 2025-10-07 11:25:07 +02:00
  • 044fd996fb feat: Add Docker Compose configuration for OpenTelemetry collector and Prometheus Marc Schäfer 2025-10-07 11:09:20 +02:00
  • 172b2816db feat: Implement telemetry for reconnect reasons and RTT reporting Marc Schäfer 2025-10-07 09:17:05 +02:00
  • e7ed6a4a03 Add OpenTelemetry configuration and observability documentation Marc Schäfer 2025-10-07 09:16:44 +02:00
  • 984320dc27 Implement TelemetryView for thread-safe session management and observability Marc Schäfer 2025-10-07 09:16:17 +02:00
  • 5fba5a110c Add telemetry metrics and constants for improved observability Marc Schäfer 2025-10-07 09:15:36 +02:00
  • 003b020037 Refactor WireGuard and netstack services for telemetry integration Marc Schäfer 2025-10-07 09:13:05 +02:00
  • f35ec7e014 Instrument authentication and WebSocket connection logic for telemetry events Marc Schäfer 2025-10-07 09:13:04 +02:00
  • 1092c64e15 Add tunnel latency and reconnect telemetry to ping logic Marc Schäfer 2025-10-07 09:13:04 +02:00
  • b0be472cc0 Refactor ProxyManager for per-tunnel metrics, async bytes collection, and session counting Marc Schäfer 2025-10-07 09:13:03 +02:00
  • 88c7fa097e Integrate tunnel metrics and telemetry reporting throughout main application logic Marc Schäfer 2025-10-07 09:13:03 +02:00
  • 845bb0a09f Initialize telemetry and start admin HTTP server for metrics export Marc Schäfer 2025-10-07 09:13:03 +02:00
  • 5d175ea926 Add flags and environment variables for telemetry and metrics configuration Marc Schäfer 2025-10-07 09:13:02 +02:00
  • 26d78f749a Expose admin/metrics endpoint in Dockerfile Marc Schäfer 2025-10-07 09:13:02 +02:00
  • d96389a227 Update dependencies for telemetry and metrics support Marc Schäfer 2025-10-07 09:13:01 +02:00
  • 348b8f6b94 Try to fix overwriting config file Owen 2025-10-01 10:31:14 -07:00
  • f39ea4d93a Try to fix overwriting config file Owen 2025-10-01 10:31:14 -07:00
  • 71c5bf7e65 update template miloschwartz 2025-09-29 16:38:39 -07:00
  • e10af9a0f9 update template miloschwartz 2025-09-29 16:38:39 -07:00
  • dda0b414cc Add timeouts to hp Owen 2025-09-29 14:55:26 -07:00
  • 34a2ab7fc3 Add timeouts to hp Owen 2025-09-29 14:55:26 -07:00
  • 8f224e2a45 Add no cloud option Owen 2025-09-29 12:25:07 -07:00
  • b4b59fab7c Add no cloud option Owen 2025-09-29 12:25:07 -07:00
  • 90243cd6c6 Merge pull request #148 from fosrl/dependabot/go_modules/github.com/docker/docker-28.4.0incompatible Owen Schwartz 2025-09-28 17:58:58 -07:00
  • 70904cc5b7 Merge pull request #148 from fosrl/dependabot/go_modules/github.com/docker/docker-28.4.0incompatible Owen Schwartz 2025-09-28 17:58:58 -07:00
  • 9b79af10ed Merge pull request #153 from fosrl/dev Owen Schwartz 2025-09-28 17:58:38 -07:00
  • 7b7270affa Merge pull request #153 from fosrl/dev Owen Schwartz 2025-09-28 17:58:38 -07:00
  • 31b1ffcbe9 Merge branch 'dev' into docker-events Owen 2025-09-28 17:44:09 -07:00
  • 606a549b87 Merge branch 'dev' into docker-events Owen 2025-09-28 17:44:09 -07:00
  • f1c4e1db71 Bump github.com/docker/docker dependabot[bot] 2025-09-28 23:31:05 +00:00
  • 8f3b5d3a5d Bump github.com/docker/docker dependabot[bot] 2025-09-28 23:31:05 +00:00
  • 72a61d0933 Merge branch 'main' into dev Owen 2025-09-28 16:27:05 -07:00
  • 71756a236d Merge branch 'main' into dev 1.5.1 Owen 2025-09-28 16:27:05 -07:00
  • e489a2cc66 Merge branch 'main' of github.com:fosrl/newt Owen 2025-09-28 16:26:58 -07:00
  • b3105fa077 Merge branch 'main' of github.com:fosrl/newt Owen 2025-09-28 16:26:58 -07:00
  • 4e648af8e9 Pick up the existing interface private key Owen 2025-09-28 16:26:36 -07:00
  • 15ba03b1c5 Pick up the existing interface private key Owen 2025-09-28 16:26:36 -07:00
  • 5d891225de Fix generateAndSaveKeyTo Owen 2025-09-28 11:28:31 -07:00
  • 6af90c18a8 Fix generateAndSaveKeyTo Owen 2025-09-28 11:28:31 -07:00
  • 9864965381 Merge pull request #152 from didotb/didotb-docs-blueprint-file Owen Schwartz 2025-09-25 18:08:50 -07:00
  • 0f1a06f32d Merge pull request #152 from didotb/didotb-docs-blueprint-file Owen Schwartz 2025-09-25 18:08:50 -07:00
  • 75f6362a90 Add logging to config Owen 2025-09-25 17:18:28 -07:00
  • 0609f57cb0 Add logging to config Owen 2025-09-25 17:18:28 -07:00
  • 30907188fb docs: Add new cli arg and env var Andrew Barrientos 2025-09-26 06:46:32 +08:00
  • 7df4624a29 docs: Add new cli arg and env var Andrew Barrientos 2025-09-26 06:46:32 +08:00
  • 5f11df8df2 Merge pull request #147 from marcschaeferger/Dependency-Update-09-25 Owen Schwartz 2025-09-21 20:10:13 -04:00
  • 26ebd03310 Merge pull request #147 from marcschaeferger/Dependency-Update-09-25 Owen Schwartz 2025-09-21 20:10:13 -04:00
  • 7eea6dd335 Merge pull request #146 from marcschaeferger/github-actions Owen Schwartz 2025-09-21 20:09:35 -04:00
  • d0f612a4a5 Merge pull request #146 from marcschaeferger/github-actions Owen Schwartz 2025-09-21 20:09:35 -04:00
  • 9dc5a3d91c fix(deps): add missing gopkg.in/yaml.v3 v3.0.1 back Marc Schäfer 2025-09-22 00:40:18 +02:00
  • 1b2ec74395 fix(deps): add missing gopkg.in/yaml.v3 v3.0.1 back Marc Schäfer 2025-09-22 00:40:18 +02:00
  • 1881309148 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 Marc Schäfer 2025-09-22 00:30:33 +02:00
  • 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 Marc Schäfer 2025-09-22 00:30:33 +02:00
  • aff928e60f fix(gh-actions): Workflow does not contain permissions Marc Schäfer 2025-09-22 00:22:42 +02:00
  • 2cbc080242 fix(gh-actions): Workflow does not contain permissions Marc Schäfer 2025-09-22 00:22:42 +02:00
  • 3c2a1b9235 Merge pull request #1 from marcschaeferger/dependabot/go_modules/golang.org/x/net-0.44.0 Marc Schäfer 2025-09-21 21:47:59 +02:00
  • e3eab6849d Merge pull request #2 from marcschaeferger/dependabot/go_modules/golang.org/x/crypto-0.42.0 Marc Schäfer 2025-09-21 21:47:45 +02:00