Joseph Doherty
eb801cd4cf
feat: add account-scoped filtering to /connz (Gap 10.2)
...
Add ConnzConnectionInfo, ConnzFilterResult, ConnzFilterOptions, and
ConnzFilter static class to Connz.cs, providing a pure unit-testable
layer for account-scoped filtering and pagination that mirrors the Go
server's /connz ?acc= query-parameter behaviour. Ten new tests in
ConnzAccountFilterTests.cs cover FilterByAccount (match, no-match,
case-insensitive), ConnzFilterOptions.Parse (acc param, defaults,
offset/limit), and ApplyFilters (account filter, offset, limit,
no-filter pass-through).
2026-02-25 13:04:20 -05:00
Joseph Doherty
94878d3dcc
feat(monitoring+events): add connz filtering, event payloads, and message trace context (E12+E13+E14)
...
- Add ConnzHandler with sorting, filtering, pagination, CID lookup, and closed connection ring buffer
- Add full Go events.go parity types (ConnectEventMsg, DisconnectEventMsg, ServerStatsMsg, etc.)
- Add MessageTraceContext for per-message trace propagation with header parsing
- 74 new tests (17 ConnzFilter + 16 EventPayload + 41 MessageTraceContext)
2026-02-24 16:17:21 -05:00
Joseph Doherty
1c0fc8fc11
feat: add runtime profiling parity and close config runtime drift
2026-02-23 14:56:27 -05:00
Joseph Doherty
2b64d762f6
feat: execute full-repo remaining parity closure plan
2026-02-23 13:08:52 -05:00
Joseph Doherty
8bce096f55
feat: complete final jetstream parity transport and runtime baselines
2026-02-23 11:04:43 -05:00
Joseph Doherty
f46b331921
feat: complete remaining jetstream parity implementation plan
2026-02-23 10:16:16 -05:00
Joseph Doherty
3fea2da2cf
Fix merge regressions after jetstream parity merge
2026-02-23 08:56:15 -05:00
Joseph Doherty
a8985ecb1a
Merge branch 'codex/jetstream-full-parity-executeplan' into main
...
# Conflicts:
# differences.md
# docs/plans/2026-02-23-jetstream-full-parity-plan.md
# src/NATS.Server/Auth/Account.cs
# src/NATS.Server/Configuration/ConfigProcessor.cs
# src/NATS.Server/Monitoring/VarzHandler.cs
# src/NATS.Server/NatsClient.cs
# src/NATS.Server/NatsOptions.cs
# src/NATS.Server/NatsServer.cs
2026-02-23 08:53:44 -05:00
Joseph Doherty
ccbcf759a9
feat: implement jsz and live jetstream monitoring
2026-02-23 06:19:41 -05:00
Joseph Doherty
71f7f569b9
Merge branch 'feature/mqtt-connection-type'
2026-02-23 06:15:32 -05:00
Joseph Doherty
54207e2906
feat: expand mqtt varz monitoring with all Go-compatible fields
2026-02-23 06:07:38 -05:00
Joseph Doherty
3f48d1c5ee
feat: add connz mqtt_client filtering for open and closed connections
2026-02-23 05:53:24 -05:00
Joseph Doherty
5bae9cc289
feat: add system request-reply monitoring services ($SYS.REQ.SERVER.*)
...
Register VARZ, HEALTHZ, SUBSZ, STATSZ, and IDZ request-reply handlers
on $SYS.REQ.SERVER.{id}.* subjects and $SYS.REQ.SERVER.PING.* wildcard
subjects via InitEventTracking. Also excludes the $SYS system account
from the /subz monitoring endpoint by default since its subscriptions
are internal infrastructure.
2026-02-23 05:48:32 -05:00
Joseph Doherty
67a3881c7c
feat: populate TLS certificate expiry and OCSP peer verify in /varz
...
Load the server TLS certificate from disk during each /varz request to
read its NotAfter date and expose it as tls_cert_not_after. Also wire
OcspPeerVerify from NatsOptions into the tls_ocsp_peer_verify field.
Both fields were already declared in the Varz model but left unpopulated.
2026-02-23 04:26:45 -05:00
Joseph Doherty
e31ba04fdb
feat: add closed connection tracking, state filtering, ByStop/ByReason sorting
2026-02-23 01:01:56 -05:00
Joseph Doherty
1269ae8275
feat: implement /subz endpoint with account filter, test subject, and pagination
2026-02-23 00:50:26 -05:00
Joseph Doherty
cd4ae3cce6
feat: add stale connection stats tracking and varz exposure
2026-02-23 00:38:43 -05:00
Joseph Doherty
eb25d52ed5
feat: add RTT tracking and first-PING delay to NatsClient
2026-02-23 00:34:30 -05:00
Joseph Doherty
f5c0c4f906
feat: wire pending bytes and close reason into connz monitoring
2026-02-22 23:57:39 -05:00
Joseph Doherty
61c6b832e5
feat: add MaxPending, WriteDeadline options and error constants
2026-02-22 23:33:49 -05:00
Joseph Doherty
9eb108b1df
feat: add /connz endpoint with pagination, sorting, and subscription details
2026-02-22 22:36:28 -05:00
Joseph Doherty
818bc0ba1f
fix: address MonitorServer review — dispose resources, add cancellation, improve test reliability
2026-02-22 22:30:14 -05:00
Joseph Doherty
a52db677e2
fix: track HTTP request stats for all monitoring endpoints
2026-02-22 22:25:00 -05:00
Joseph Doherty
f2badc3488
feat: add MonitorServer with /healthz and /varz endpoints
2026-02-22 22:20:44 -05:00
Joseph Doherty
045c12cce7
feat: add Varz and Connz monitoring JSON models with Go field name parity
2026-02-22 22:13:50 -05:00