Add actions-specific telemetry fields

This commit is contained in:
Andrew Eisenberg 2025-04-29 16:12:13 -07:00
parent 83605b3ce2
commit 3ca9a88941
2 changed files with 10 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -42,6 +42,13 @@ export class CodeQLAnalysisError extends Error {
}
export interface QueriesStatusReport {
/**
* Time taken in ms to run queries for actions (or undefined if this language was not analyzed).
*
* The "builtin" designation is now outdated with the move to CLI config parsing: this is the time
* taken to run _all_ the queries.
*/
analyze_builtin_queries_actions_duration_ms?: number;
/**
* Time taken in ms to run queries for cpp (or undefined if this language was not analyzed).
*
@ -98,6 +105,8 @@ export interface QueriesStatusReport {
*/
analyze_builtin_queries_swift_duration_ms?: number;
/** Time taken in ms to interpret results for actions (or undefined if this language was not analyzed). */
interpret_results_actions_duration_ms?: number;
/** Time taken in ms to interpret results for cpp (or undefined if this language was not analyzed). */
interpret_results_cpp_duration_ms?: number;
/** Time taken in ms to interpret results for csharp (or undefined if this language was not analyzed). */