@grepr/cli 1.6.20-c59fa78 → 1.6.21-c273e76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3150,6 +3150,10 @@ export interface components {
3150
3150
  };
3151
3151
  /** @description A complete span with its resource and instrumentation scope context. */
3152
3152
  CompleteSpan: {
3153
+ /** Format: int64 */
3154
+ critPathNs?: number;
3155
+ /** Format: double */
3156
+ critPathPct?: number;
3153
3157
  /** Format: int64 */
3154
3158
  duration?: number;
3155
3159
  /** Format: int64 */
@@ -3329,6 +3333,27 @@ export interface components {
3329
3333
  */
3330
3334
  roleIds: string[];
3331
3335
  };
3336
+ /**
3337
+ * Critical Path Analysis
3338
+ * @description Opt-in critical-path analysis settings. Computed during trace assembly; requires tail sampling. The maxSpans and sampleRate levers bound the per-trace cost.
3339
+ */
3340
+ CriticalPathAnalysisConfig: {
3341
+ /**
3342
+ * Max spans analyzed
3343
+ * Format: int32
3344
+ * @description Cap on how many spans are analyzed per trace; the critical chain is kept first. Null means no cap beyond the global per-trace assembly limit.
3345
+ * @example 500
3346
+ */
3347
+ maxSpans?: number;
3348
+ /**
3349
+ * Analysis sample rate
3350
+ * Format: double
3351
+ * @description Fraction of assembled traces to analyze, in [0.0, 1.0], selected deterministically by trace id. Defaults to 1.0 (analyze every trace).
3352
+ * @default 1
3353
+ * @example 1
3354
+ */
3355
+ sampleRate?: number;
3356
+ };
3332
3357
  /** @description Daily-usage table. */
3333
3358
  DailyTable: {
3334
3359
  /** @description True when the reporting period contains today. Same semantic as PeriodEntry.current — the last entry of days[] represents an incomplete day, so consumers should mark it as in-progress. */
@@ -9014,6 +9039,7 @@ export interface components {
9014
9039
  TraceReducer: {
9015
9040
  /** @description Actions to execute on traces. Actions process spans after sampling decisions have been made and can trigger operations like logs backfill. */
9016
9041
  actions?: components["schemas"]["TraceAction"][];
9042
+ criticalPathAnalysis?: components["schemas"]["CriticalPathAnalysisConfig"];
9017
9043
  /**
9018
9044
  * Iceberg Dataset ID
9019
9045
  * @description Dataset ID used for naming the Iceberg table (traces_raw_{datasetId}). If not provided, traces will not be persisted to Iceberg.
@@ -9831,6 +9857,7 @@ export type SchemaCreateJob = components["schemas"]["CreateJob"];
9831
9857
  export type SchemaCreateRole = components["schemas"]["CreateRole"];
9832
9858
  export type SchemaCreateServiceAccount = components["schemas"]["CreateServiceAccount"];
9833
9859
  export type SchemaCreateUser = components["schemas"]["CreateUser"];
9860
+ export type SchemaCriticalPathAnalysisConfig = components["schemas"]["CriticalPathAnalysisConfig"];
9834
9861
  export type SchemaDailyTable = components["schemas"]["DailyTable"];
9835
9862
  export type SchemaData = components["schemas"]["Data"];
9836
9863
  export type SchemaDataWarehouse = components["schemas"]["DataWarehouse"];