Holds the captured details of a single operation - a web request, an asynchronous job, or another background task - recorded by an active debug session. An instance is created when the operation starts and progressively enriched as it runs and finishes, with timing, SQL, Elasticsearch, LLM and cache statistics, then persisted to the debug session's log and returned to callers such as DebugManager.findOperationDetails.
Group: Debugging
Properties
| Property | Returns | Description |
|---|---|---|
| blobStoreStats | CacheStoreStats | Blob store cache miss statistics recorded during the operation. |
| durationMillis | Long | Wall-clock time the operation took to run. |
| esStats | EsQueryStats | Elasticsearch queries recorded during the operation. |
| finishedAt | Date | Time the operation finished. |
| hashStoreStats | CacheStoreStats | Hash store cache miss statistics recorded during the operation. |
| llmStats | LlmInferenceStats | LLM inference calls recorded during the operation. |
| numQueries | Long | Total number of SQL statements executed during the operation, summed across all recorded statement types. |
| operationInfo | OperationInfo | Identifying information for the operation these details belong to, such as its type and source. |
| perReqSql | PerRequestSqlLogs | The full per-request SQL statement log recorded during the operation, when SQL logging was enabled. |
| profileId | Long | Id of the profile that was logged in when the operation finished, if any. |
| sqlDurationMillis | Long | Total time spent executing SQL statements during the operation, summed across all recorded statement types. |
| sqlStats | Map<String,SqlStats> | SQL execution statistics recorded during the operation, keyed by statement. |
| startedAt | Date | Time the operation started. |
| stopWatch | KStopWatch | Stop watch capturing the timing breakdown of the operation's internal steps. |
Methods
getDurationMillis() · getProfileId() · getSqlDurationMillis() · getNumQueries() · getOperationInfo() · getStartedAt() · getFinishedAt() · getSqlStats() · getPerReqSql() · getEsStats() · getLlmStats() · getBlobStoreStats() · getHashStoreStats() · getStopWatch()
getDurationMillis()
Returns: Long
Wall-clock time the operation took to run.
getProfileId()
Returns: Long
Id of the profile that was logged in when the operation finished, if any.
getSqlDurationMillis()
Returns: Long
Total time spent executing SQL statements during the operation, summed across all recorded statement types.
getNumQueries()
Returns: Long
Total number of SQL statements executed during the operation, summed across all recorded statement types.
getOperationInfo()
Returns: OperationInfo
Identifying information for the operation these details belong to, such as its type and source.
getStartedAt()
Returns: Date
Time the operation started.
getFinishedAt()
Returns: Date
Time the operation finished.
getSqlStats()
Returns: Map<String,SqlStats>
SQL execution statistics recorded during the operation, keyed by statement.
getPerReqSql()
Returns: PerRequestSqlLogs
The full per-request SQL statement log recorded during the operation, when SQL logging was enabled.
getEsStats()
Returns: EsQueryStats
Elasticsearch queries recorded during the operation.
getLlmStats()
Returns: LlmInferenceStats
LLM inference calls recorded during the operation.
getBlobStoreStats()
Returns: CacheStoreStats
Blob store cache miss statistics recorded during the operation.
getHashStoreStats()
Returns: CacheStoreStats
Hash store cache miss statistics recorded during the operation.
getStopWatch()
Returns: KStopWatch
Stop watch capturing the timing breakdown of the operation's internal steps.