ores.telemetry.service
Table of Contents
2. Summary
ores.telemetry.service is the NATS service entrypoint that receives log
records from other services and persists them to the telemetry database. It
registers NATS handlers for log ingestion, runs the event loop, and forwards
records to ores.telemetry.database for storage.
3. Inputs
- Configuration file: NATS server URL, PostgreSQL connection string.
- NATS messages on the six
telemetry.v1.>subjects: log entries published by wrapper nodes, heartbeats from every service, and the four queries. - NATS server and stream samples the service polls from the NATS HTTP monitoring API.
4. Outputs
- Log records, service samples and NATS samples persisted to the
ores_telemetryschema viaores.telemetry.database. - Replies to the four query subjects.
5. Entry points
src/main.cpp,src/app/,src/config/,src/messaging/.
6. Dependencies
ores.telemetry.database,ores.telemetry.core,ores.service,ores.nats,ores.logging,nats.c.
7. See also
- ores.telemetry.core — logging library and the messaging types this service serves.
- ores.telemetry.database — database persistence layer.
- ores.telemetry Messaging Reference — the six subjects and their handlers.
- ores.nats — the transport this service subscribes and replies through.
