|
|
| ClientTelemetryLogModel (ClientManager *clientManager, QObject *parent=nullptr) |
| |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| |
| void | load_session_logs (const boost::uuids::uuid &session_id) |
| | Load logs for a specific session.
|
| |
| void | load_logs (std::chrono::system_clock::time_point start_time, std::chrono::system_clock::time_point end_time) |
| | Load logs within a time range.
|
| |
| void | load_page (std::uint32_t offset, std::uint32_t limit) |
| | Load a specific page of log data.
|
| |
|
void | clear () |
| | Clear all log entries.
|
| |
|
const telemetry::domain::telemetry_log_entry * | get_entry (int row) const |
| | Get log entry at the specified row.
|
| |
|
std::uint32_t | page_size () const |
| | Get the page size used for pagination.
|
| |
|
void | set_page_size (std::uint32_t size) |
| | Set the page size for pagination.
|
| |
|
std::uint64_t | total_available_count () const |
| | Get the total number of records available on the server.
|
| |
| void | set_min_level (const std::optional< std::string > &level) |
| | Set the minimum log level filter.
|
| |
| void | set_message_filter (const std::optional< std::string > &text) |
| | Set the message search filter.
|
| |
| void | set_tag_filter (const std::optional< std::string > &tag) |
| | Set the tag filter (exact match).
|
| |
| void | set_component_filter (const std::optional< std::string > &component) |
| | Set the component prefix filter.
|
| |
|
std::optional< boost::uuids::uuid > | current_session_id () const |
| | Get the currently filtered session ID.
|
| |
Model for displaying telemetry log entries from the server.
This model fetches telemetry logs asynchronously, with optional filtering by session ID, log level, and other criteria.