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

PropertyReturnsDescription
blobStoreStatsCacheStoreStatsBlob store cache miss statistics recorded during the operation.
durationMillisLongWall-clock time the operation took to run.
esStatsEsQueryStatsElasticsearch queries recorded during the operation.
finishedAtDateTime the operation finished.
hashStoreStatsCacheStoreStatsHash store cache miss statistics recorded during the operation.
llmStatsLlmInferenceStatsLLM inference calls recorded during the operation.
numQueriesLongTotal number of SQL statements executed during the operation, summed across all recorded statement types.
operationInfoOperationInfoIdentifying information for the operation these details belong to, such as its type and source.
perReqSqlPerRequestSqlLogsThe full per-request SQL statement log recorded during the operation, when SQL logging was enabled.
profileIdLongId of the profile that was logged in when the operation finished, if any.
sqlDurationMillisLongTotal time spent executing SQL statements during the operation, summed across all recorded statement types.
sqlStatsMap<String,SqlStats>SQL execution statistics recorded during the operation, keyed by statement.
startedAtDateTime the operation started.
stopWatchKStopWatchStop 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.