| 6189 | } |
| 6190 | |
| 6191 | std::shared_ptr<QueryMetricLog> Context::getQueryMetricLog() const |
| 6192 | { |
| 6193 | SharedLockGuard lock(shared->mutex); |
| 6194 | |
| 6195 | if (!shared->system_logs) |
| 6196 | return {}; |
| 6197 | |
| 6198 | return shared->system_logs->query_metric_log; |
| 6199 | } |
| 6200 | |
| 6201 | std::shared_ptr<ZooKeeperConnectionLog> Context::getZooKeeperConnectionLog() const |
| 6202 | { |
no outgoing calls
no test coverage detected