Skip to main content

Asset Logging and Observability

Observability path

Shared observability clears default providers and enables JSON console logging with UTC timestamps and scopes. OpenTelemetry tracing instruments ASP.NET Core and HTTP clients and supports configured exporters. Correlation middleware accepts or generates a correlation identifier, adds it to request/response context, and opens a logging scope.

Asset Service exposes health and service-information endpoints. Workflow/document adapters and relay log success or failure at structured levels. Audit, timeline, and outbox endpoints provide tenant-scoped development/foundation evidence, not full telemetry.

No OpenTelemetry metrics, asset business counters, readiness/dependency checks, alert definitions, dashboards, sampling policy documentation, sensitive-log redaction policy, or service objectives were verified. This documentation omits exporter destinations and infrastructure values.

Requires confirmation

Production ownership, authorization governance, operational policy, and future architecture require confirmation where the source does not enforce them.

Source References

  • microservices/src/shared-kernel/Extensions/ObservabilityExtensions.cs
  • microservices/src/shared-kernel/Middleware/CorrelationIdMiddleware.cs
  • microservices/src/asset-service/Program.cs
  • microservices/src/asset-service/Messaging/OutboxRelayHostedService.cs