Files
template-app/config/src/observability.ts
T
2026-11-14 09:56:45 +00:00

25 lines
719 B
TypeScript

// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
// Observability for the server processes (spec §9.5), from `@conusai-kit/host/postgres/config`: errors,
// traces and logs, configured from the deployment contract and from nothing else, with secrets and
// tokens taken out before anything leaves the process.
export {
createRedactor,
currentObservability,
type ErrorTrackingClient,
FILTERED,
type LogAttributes,
type Logger,
type LogLevel,
type ObservabilityConfig,
type Otlp,
observabilityConfig,
observabilityLine,
quietObservability,
type Redactor,
type ServerObservability,
type StartOptions,
secretsOf,
startObservability,
} from "@conusai-kit/host/postgres/config"