MeshLogRepositoryImpl
Repository implementation for managing and retrieving logs from the local database.
This repository provides methods for inserting, deleting, and querying logs, including specialized methods for telemetry and traceroute data.
Constructors
Functions
Deletes only local stats telemetry logs for nodeNum, preserving other telemetry types. The bounded keyset scan and atomic deletion remain under one manager-tracked database lease, while protobuf parsing runs on the compute dispatcher.
Prunes the log database based on the configured retentionDays. The sentinel values are resolved by MeshLogRetention, so "never delete" is a no-op and "1 hour" trims to the last hour rather than scaling the sentinel by days.
Retrieves all MeshLogs in the database in the order they were received.
Retrieves all MeshLogs in the database without any limit.
Returns the cached MyNodeInfo from the system logs.
Retrieves all outgoing request logs for a specific targetNodeNum and portNum.
Retrieves telemetry history for a specific node, automatically handling local node redirection.