Instrument components with telemetry context
This page is a capture in the next bucket of the product backlog — a pre-sprint idea, not yet pulled into a sprint as a story.
Now that logging has been integrated with telemetry, the next step is to
instrument key components with the TLOG_SEV macro to enable trace correlation.
Tasks:
- Instrument
server_sessionwith root span on connection, child spans per request. - Instrument
client_sessionwith spans for outgoing requests. - Pass
telemetry_contextthrough message handlers in ores.iam, ores.refdata, etc. - Add spans for database operations in ores.database.