Issue #4: add structured logging and metrics foundation #53

Merged
dohertj2 merged 2 commits from agent-3/issue-4-add-structured-logging-and-metrics-foundation into main 2026-04-26 16:19:25 -04:00
Owner

Implements issue #4.

Summary:

  • adds gateway structured logging scope helpers and conservative redaction helpers for API keys, command values, and credential-bearing MXAccess commands
  • registers request logging scope middleware and GatewayMetrics in the gateway host
  • adds GatewayMetrics counters, observable gauges, histograms, and dashboard snapshot state
  • documents the observability foundation in gateway docs

Verification:

  • dotnet build src\MxGateway.sln
  • dotnet test src\MxGateway.sln --no-build
Implements issue #4. Summary: - adds gateway structured logging scope helpers and conservative redaction helpers for API keys, command values, and credential-bearing MXAccess commands - registers request logging scope middleware and GatewayMetrics in the gateway host - adds GatewayMetrics counters, observable gauges, histograms, and dashboard snapshot state - documents the observability foundation in gateway docs Verification: - dotnet build src\MxGateway.sln - dotnet test src\MxGateway.sln --no-build
dohertj2 added 1 commit 2026-04-26 16:13:49 -04:00
dohertj2 added 1 commit 2026-04-26 16:19:12 -04:00
# Conflicts:
#	src/MxGateway.Server/GatewayApplication.cs
#	src/MxGateway.Tests/Gateway/GatewayApplicationTests.cs
dohertj2 merged commit 41ddd122a6 into main 2026-04-26 16:19:25 -04:00
Sign in to join this conversation.