Ports and health endpoints
See the health and readiness reference for the probe contract.Deployment and TLS
Application
Rule evaluation
Authentication and request handling
Database (PostgreSQL)
Tracer stores rules and usage counters in its owntracer database on the shared Midaz PostgreSQL primary. Schema migration is applied by a dedicated migration-runner image before the application starts; the service boots against an already-migrated schema and does not run migrations in-process.
Background workers
Reservations
Readiness and draining
Reservation gRPC seam
Server side of the seam the Midaz ledger calls to reserve spending limits. Off unlessTRACER_GRPC_PORT is set.
Shared configuration backbone
The following blocks are identical across Lerian products and are documented in full in the BYOC configuration reference. They default off.- Access Manager authentication —
PLUGIN_AUTH_ENABLED,PLUGIN_AUTH_ADDRESS. Enable in production. In discovery-enabled builds (see Service discovery below), Tracer resolves the Access Manager host through Consul and falls back toPLUGIN_AUTH_ADDRESSif resolution fails; current builds always usePLUGIN_AUTH_ADDRESS. - Multi-tenancy —
MULTI_TENANT_*, plus Tracer’s per-tenant pool knobs (MULTI_TENANT_MAX_TENANT_POOLS,MULTI_TENANT_MAX_OPEN_CONNS_PER_TENANT,TENANT_CAP_RETRY_AFTER_SECONDS). Off by default.APPLICATION_NAMEidentifies the module to Tenant Manager. - Service discovery —
SD_*(Consul). Off by default, and temporarily inert: current builds compile the Consul integration out, soSD_ENABLED=truehas no effect and Tracer always resolves Access Manager from the staticPLUGIN_AUTH_ADDRESS. In discovery-enabled builds, Tracer registers itself asmidaz-tracer(advertising the HTTP port fromSERVER_ADDRESS, default4020) and resolves Access Manager through Consul. The reservation gRPC seam is not advertised — Tracer is the server on that seam. - Event streaming —
STREAMING_*(lib-streaming producer). Off by default. - OpenTelemetry —
ENABLE_TELEMETRY,OTEL_*. Tracer also exposes a Prometheus/metricsendpoint.

