@grepr/cli 1.4.5-a0440af → 1.4.7-cb7f5a2

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.
@@ -119,7 +119,7 @@ export interface paths {
119
119
  };
120
120
  /**
121
121
  * Get dataset impact estimation configuration
122
- * @description Returns the impact-estimation configuration for the dataset. The presence of a configuration is the per-dataset opt-in for impact estimation.
122
+ * @description Returns the impact-estimation configuration for the dataset, or null when the dataset is not opted in for estimation. The presence of a configuration is the per-dataset opt-in for impact estimation.
123
123
  */
124
124
  get: operations["getDatasetEstimationConfig"];
125
125
  /**
@@ -1403,7 +1403,7 @@ export interface paths {
1403
1403
  patch?: never;
1404
1404
  trace?: never;
1405
1405
  };
1406
- "/v1/integrations/{integrationId}/exceptions/impact-estimation-config": {
1406
+ "/v1/integrations/{integrationId}/exceptions/estimation-datasets": {
1407
1407
  parameters: {
1408
1408
  query?: never;
1409
1409
  header?: never;
@@ -1411,24 +1411,13 @@ export interface paths {
1411
1411
  cookie?: never;
1412
1412
  };
1413
1413
  /**
1414
- * Get exception impact estimation configuration
1415
- * @deprecated
1416
- * @description Get the exception impact estimation configuration for the specified integration. This configuration controls how exception impact percentages are calculated.
1414
+ * List estimation-eligible datasets for an integration
1415
+ * @description Returns datasets that are sinks of the integration's non-deleted pipelines, each with the pipelines that wire the integration to that dataset and the dataset's current estimation configuration (or null when not opted in). The estimation configuration is per-dataset and shared across every integration whose pipelines target the same dataset.
1417
1416
  */
1418
- get: operations["getExceptionImpactEstimationConfig"];
1419
- /**
1420
- * Create or update exception impact estimation configuration
1421
- * @deprecated
1422
- * @description Create or update the exception impact estimation configuration for the specified integration. If a configuration already exists, it will be updated with the provided values.
1423
- */
1424
- put: operations["upsertExceptionImpactEstimationConfig"];
1417
+ get: operations["getEstimationDatasets"];
1418
+ put?: never;
1425
1419
  post?: never;
1426
- /**
1427
- * Delete exception impact estimation configuration
1428
- * @deprecated
1429
- * @description Delete the exception impact estimation configuration for the specified integration.
1430
- */
1431
- delete: operations["deleteExceptionImpactEstimationConfig"];
1420
+ delete?: never;
1432
1421
  options?: never;
1433
1422
  head?: never;
1434
1423
  patch?: never;
@@ -1838,6 +1827,66 @@ export interface paths {
1838
1827
  patch?: never;
1839
1828
  trace?: never;
1840
1829
  };
1830
+ "/v1/pipelines/{pipelineId}/exceptions/estimation-datasets": {
1831
+ parameters: {
1832
+ query?: never;
1833
+ header?: never;
1834
+ path?: never;
1835
+ cookie?: never;
1836
+ };
1837
+ /**
1838
+ * List estimation-eligible datasets for a pipeline
1839
+ * @description Returns the pipeline's sink datasets, each joined with the dataset's current estimation configuration (or null when the dataset is not opted in). The estimation configuration is per-dataset and shared across every pipeline whose sink targets the same dataset.
1840
+ */
1841
+ get: operations["getEstimationDatasets_1"];
1842
+ put?: never;
1843
+ post?: never;
1844
+ delete?: never;
1845
+ options?: never;
1846
+ head?: never;
1847
+ patch?: never;
1848
+ trace?: never;
1849
+ };
1850
+ "/v1/pipelines/{pipelineId}/exceptions/impact-estimation-reset": {
1851
+ parameters: {
1852
+ query?: never;
1853
+ header?: never;
1854
+ path?: never;
1855
+ cookie?: never;
1856
+ };
1857
+ get?: never;
1858
+ put?: never;
1859
+ /**
1860
+ * Reset impact estimations for a pipeline
1861
+ * @description Clears the cached impact percentage and last-updated timestamp on estimation rows in the pipeline's scope. The hourly impact-estimation cycle picks up the cleared rows on its next tick; fresh values appear on a later poll. Rows currently being processed by an active estimation job are skipped and retain their values until that job completes. Returns the number of rows cleared; zero indicates a no-op (no opted-in sink datasets, or no estimation-capable source integrations).
1862
+ */
1863
+ post: operations["resetImpactEstimation"];
1864
+ delete?: never;
1865
+ options?: never;
1866
+ head?: never;
1867
+ patch?: never;
1868
+ trace?: never;
1869
+ };
1870
+ "/v1/pipelines/{pipelineId}/exceptions/integrations/{integrationId}/impacts": {
1871
+ parameters: {
1872
+ query?: never;
1873
+ header?: never;
1874
+ path?: never;
1875
+ cookie?: never;
1876
+ };
1877
+ /**
1878
+ * Get integration exception impacts for a pipeline
1879
+ * @description Returns the per-exception impact percentages the runtime auto-sync threshold filter would compare against for this pipeline/integration pair. The pipeline's sink dataset scopes the lookup; exceptions without an estimation row are absent from the response.
1880
+ */
1881
+ get: operations["getIntegrationExceptionImpacts"];
1882
+ put?: never;
1883
+ post?: never;
1884
+ delete?: never;
1885
+ options?: never;
1886
+ head?: never;
1887
+ patch?: never;
1888
+ trace?: never;
1889
+ };
1841
1890
  "/v1/query/parse": {
1842
1891
  parameters: {
1843
1892
  query?: never;
@@ -2844,14 +2893,10 @@ export interface components {
2844
2893
  awsAccountId: string;
2845
2894
  /** @description The name of the S3 bucket to use for the data warehouse */
2846
2895
  bucketName: string;
2847
- /** @description The external ID for the assumed role ARN */
2848
- externalId: string;
2849
- /** @description Nonce for bucket name generation */
2850
- nonce: string;
2851
- /** @description The organization name */
2852
- orgName: string;
2853
2896
  /** @description The AWS region the bucket must be created in. Matches the region the Grepr deployment is running in. */
2854
2897
  region: string;
2898
+ /** @description The IAM role name for the data warehouse integration */
2899
+ roleName: string;
2855
2900
  /** @description The name of the CloudFormation stack */
2856
2901
  stackName: string;
2857
2902
  };
@@ -3529,6 +3574,20 @@ export interface components {
3529
3574
  exception?: string;
3530
3575
  message?: string;
3531
3576
  };
3577
+ EstimationDatasetSummary: {
3578
+ config?: components["schemas"]["DatasetEstimationConfig"];
3579
+ /**
3580
+ * @description Dataset this summary describes
3581
+ * @example ds-prod-1
3582
+ */
3583
+ datasetId: string;
3584
+ /**
3585
+ * @description Display name of the dataset
3586
+ * @example logs-prod
3587
+ */
3588
+ datasetName: string;
3589
+ pipelines: components["schemas"]["PipelineRef"][];
3590
+ };
3532
3591
  /** @description Base class of all Event Actions */
3533
3592
  EventAction: {
3534
3593
  /** Format: int32 */
@@ -4212,44 +4271,6 @@ export interface components {
4212
4271
  */
4213
4272
  integrationId: string;
4214
4273
  };
4215
- IntegrationExceptionImpactEstimationConfig: {
4216
- /**
4217
- * Format: date-time
4218
- * @description Creation timestamp
4219
- */
4220
- readonly createdAt?: string;
4221
- /** @description ID of the dataset that contains raw data to be queried to calculate how many logs match exceptions loaded by a vendor integration. */
4222
- datasetId: string;
4223
- /** @description Integration ID */
4224
- readonly integrationId?: string;
4225
- /**
4226
- * Format: int32
4227
- * @description Maximum number of log messages to match.
4228
- */
4229
- logLimit?: number;
4230
- /**
4231
- * Format: ISO-8601
4232
- * @description Lookback duration for which to calculate exception impact. Uses ISO-8601 duration format.
4233
- * @default PT1H
4234
- * @example PT20.345S
4235
- */
4236
- lookbackDuration?: string;
4237
- /** @description Organization ID */
4238
- readonly organizationId?: string;
4239
- query?: components["schemas"]["EventPredicate"];
4240
- /**
4241
- * Format: ISO-8601
4242
- * @description How often to refresh exception impact percentages. Uses ISO-8601 duration format.
4243
- * @default P7D
4244
- * @example PT20.345S
4245
- */
4246
- refreshPeriod?: string;
4247
- /**
4248
- * Format: date-time
4249
- * @description Last update timestamp
4250
- */
4251
- readonly updatedAt?: string;
4252
- };
4253
4274
  /** @description Paginated list of vendor imported exceptions for an integration */
4254
4275
  IntegrationExceptionsList: {
4255
4276
  exceptions?: components["schemas"]["ItemsCollectionVendorImportedException"];
@@ -6222,6 +6243,18 @@ export interface components {
6222
6243
  */
6223
6244
  type: PhraseNodeType;
6224
6245
  };
6246
+ PipelineRef: {
6247
+ /**
6248
+ * @description Pipeline id
6249
+ * @example pipe-prod-1
6250
+ */
6251
+ id: string;
6252
+ /**
6253
+ * @description Pipeline display name
6254
+ * @example prod
6255
+ */
6256
+ name: string;
6257
+ };
6225
6258
  /** @description Current operational status and health of the pipeline */
6226
6259
  PipelineStatus: {
6227
6260
  error?: components["schemas"]["ErrorDetails"];
@@ -7165,6 +7198,14 @@ export interface components {
7165
7198
  */
7166
7199
  values: string[];
7167
7200
  };
7201
+ ResetImpactEstimationResponse: {
7202
+ /**
7203
+ * Format: int32
7204
+ * @description Number of estimation rows whose cached impact percentage was cleared. Zero when nothing was in scope (no opted-in sink datasets, or no estimation-capable integrations).
7205
+ * @example 12
7206
+ */
7207
+ rowsCleared: number;
7208
+ };
7168
7209
  /** @description Resource information describing the entity that produced the telemetry data. */
7169
7210
  Resource: {
7170
7211
  attributes?: components["schemas"]["Variant"];
@@ -9410,6 +9451,7 @@ export type SchemaEmbeddingConfig = components["schemas"]["EmbeddingConfig"];
9410
9451
  export type SchemaEntityContextAggregation = components["schemas"]["EntityContextAggregation"];
9411
9452
  export type SchemaEntityRef = components["schemas"]["EntityRef"];
9412
9453
  export type SchemaErrorDetails = components["schemas"]["ErrorDetails"];
9454
+ export type SchemaEstimationDatasetSummary = components["schemas"]["EstimationDatasetSummary"];
9413
9455
  export type SchemaEventAction = components["schemas"]["EventAction"];
9414
9456
  export type SchemaEventActionRule = components["schemas"]["EventActionRule"];
9415
9457
  export type SchemaEventDedupIcebergTableSink = components["schemas"]["EventDedupIcebergTableSink"];
@@ -9445,7 +9487,6 @@ export type SchemaIcebergLogsReplaySource = components["schemas"]["IcebergLogsRe
9445
9487
  export type SchemaIgnoreAttributesMergeStrategy = components["schemas"]["IgnoreAttributesMergeStrategy"];
9446
9488
  export type SchemaInstrumentationScope = components["schemas"]["InstrumentationScope"];
9447
9489
  export type SchemaIntegrationExceptionConfig = components["schemas"]["IntegrationExceptionConfig"];
9448
- export type SchemaIntegrationExceptionImpactEstimationConfig = components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
9449
9490
  export type SchemaIntegrationExceptionsList = components["schemas"]["IntegrationExceptionsList"];
9450
9491
  export type SchemaInvitationsList = components["schemas"]["InvitationsList"];
9451
9492
  export type SchemaInvitee = components["schemas"]["Invitee"];
@@ -9549,6 +9590,7 @@ export type SchemaPatternLookupIcebergTableSink = components["schemas"]["Pattern
9549
9590
  export type SchemaPatternMatcher = components["schemas"]["PatternMatcher"];
9550
9591
  export type SchemaPatternRuleConfig = components["schemas"]["PatternRuleConfig"];
9551
9592
  export type SchemaPhraseNode = components["schemas"]["PhraseNode"];
9593
+ export type SchemaPipelineRef = components["schemas"]["PipelineRef"];
9552
9594
  export type SchemaPipelineStatus = components["schemas"]["PipelineStatus"];
9553
9595
  export type SchemaPlan = components["schemas"]["Plan"];
9554
9596
  export type SchemaPlanChangeRequest = components["schemas"]["PlanChangeRequest"];
@@ -9586,6 +9628,7 @@ export type SchemaReadUser = components["schemas"]["ReadUser"];
9586
9628
  export type SchemaReadableData = components["schemas"]["ReadableData"];
9587
9629
  export type SchemaReducerLogsQuerySource = components["schemas"]["ReducerLogsQuerySource"];
9588
9630
  export type SchemaRemoveKeyAttributeAction = components["schemas"]["RemoveKeyAttributeAction"];
9631
+ export type SchemaResetImpactEstimationResponse = components["schemas"]["ResetImpactEstimationResponse"];
9589
9632
  export type SchemaResource = components["schemas"]["Resource"];
9590
9633
  export type SchemaResourceFilter = components["schemas"]["ResourceFilter"];
9591
9634
  export type SchemaRole = components["schemas"]["Role"];
@@ -10019,7 +10062,7 @@ export interface operations {
10019
10062
  };
10020
10063
  requestBody?: never;
10021
10064
  responses: {
10022
- /** @description Configuration retrieved successfully */
10065
+ /** @description Configuration retrieved, or null if the dataset is not opted in */
10023
10066
  200: {
10024
10067
  headers: {
10025
10068
  [name: string]: unknown;
@@ -10028,7 +10071,7 @@ export interface operations {
10028
10071
  "application/json": components["schemas"]["DatasetEstimationConfig"];
10029
10072
  };
10030
10073
  };
10031
- /** @description No configuration found for this dataset. */
10074
+ /** @description Dataset not found. */
10032
10075
  404: {
10033
10076
  headers: {
10034
10077
  [name: string]: unknown;
@@ -13632,14 +13675,14 @@ export interface operations {
13632
13675
  };
13633
13676
  };
13634
13677
  };
13635
- getExceptionImpactEstimationConfig: {
13678
+ getEstimationDatasets: {
13636
13679
  parameters: {
13637
13680
  query?: never;
13638
13681
  header?: never;
13639
13682
  path: {
13640
13683
  /**
13641
- * @description Integration ID to get configuration for
13642
- * @example datadog-prod-123
13684
+ * @description Integration id
13685
+ * @example 0q841q0j81m2q
13643
13686
  */
13644
13687
  integrationId: string;
13645
13688
  };
@@ -13647,13 +13690,13 @@ export interface operations {
13647
13690
  };
13648
13691
  requestBody?: never;
13649
13692
  responses: {
13650
- /** @description Configuration retrieved successfully */
13693
+ /** @description Estimation dataset summaries retrieved */
13651
13694
  200: {
13652
13695
  headers: {
13653
13696
  [name: string]: unknown;
13654
13697
  };
13655
13698
  content: {
13656
- "application/json": components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
13699
+ "application/json": components["schemas"]["EstimationDatasetSummary"][];
13657
13700
  };
13658
13701
  };
13659
13702
  /** @description Unauthorized */
@@ -13663,89 +13706,7 @@ export interface operations {
13663
13706
  };
13664
13707
  content?: never;
13665
13708
  };
13666
- /** @description Not Found - No configuration found for this integration. */
13667
- 404: {
13668
- headers: {
13669
- [name: string]: unknown;
13670
- };
13671
- content?: never;
13672
- };
13673
- };
13674
- };
13675
- upsertExceptionImpactEstimationConfig: {
13676
- parameters: {
13677
- query?: never;
13678
- header?: never;
13679
- path: {
13680
- /**
13681
- * @description Integration ID to create/update configuration for
13682
- * @example datadog-prod-123
13683
- */
13684
- integrationId: string;
13685
- };
13686
- cookie?: never;
13687
- };
13688
- requestBody?: {
13689
- content: {
13690
- "application/json": components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
13691
- };
13692
- };
13693
- responses: {
13694
- /** @description Configuration created or updated successfully */
13695
- 200: {
13696
- headers: {
13697
- [name: string]: unknown;
13698
- };
13699
- content: {
13700
- "application/json": components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
13701
- };
13702
- };
13703
- /** @description Bad Request - Invalid configuration data. */
13704
- 400: {
13705
- headers: {
13706
- [name: string]: unknown;
13707
- };
13708
- content?: never;
13709
- };
13710
- /** @description Unauthorized */
13711
- 401: {
13712
- headers: {
13713
- [name: string]: unknown;
13714
- };
13715
- content?: never;
13716
- };
13717
- };
13718
- };
13719
- deleteExceptionImpactEstimationConfig: {
13720
- parameters: {
13721
- query?: never;
13722
- header?: never;
13723
- path: {
13724
- /**
13725
- * @description Integration ID to delete configuration for
13726
- * @example datadog-prod-123
13727
- */
13728
- integrationId: string;
13729
- };
13730
- cookie?: never;
13731
- };
13732
- requestBody?: never;
13733
- responses: {
13734
- /** @description Configuration deleted successfully */
13735
- 200: {
13736
- headers: {
13737
- [name: string]: unknown;
13738
- };
13739
- content?: never;
13740
- };
13741
- /** @description Unauthorized */
13742
- 401: {
13743
- headers: {
13744
- [name: string]: unknown;
13745
- };
13746
- content?: never;
13747
- };
13748
- /** @description Not Found - No configuration found for this integration. */
13709
+ /** @description Not Found - Integration not found. */
13749
13710
  404: {
13750
13711
  headers: {
13751
13712
  [name: string]: unknown;
@@ -14645,6 +14606,133 @@ export interface operations {
14645
14606
  };
14646
14607
  };
14647
14608
  };
14609
+ getEstimationDatasets_1: {
14610
+ parameters: {
14611
+ query?: never;
14612
+ header?: never;
14613
+ path: {
14614
+ /**
14615
+ * @description Pipeline ID to list estimation datasets for
14616
+ * @example pipe-prod-1
14617
+ */
14618
+ pipelineId: string;
14619
+ };
14620
+ cookie?: never;
14621
+ };
14622
+ requestBody?: never;
14623
+ responses: {
14624
+ /** @description Estimation dataset summaries retrieved */
14625
+ 200: {
14626
+ headers: {
14627
+ [name: string]: unknown;
14628
+ };
14629
+ content: {
14630
+ "application/json": components["schemas"]["EstimationDatasetSummary"][];
14631
+ };
14632
+ };
14633
+ /** @description Unauthorized */
14634
+ 401: {
14635
+ headers: {
14636
+ [name: string]: unknown;
14637
+ };
14638
+ content?: never;
14639
+ };
14640
+ /** @description Not Found - Pipeline not found. */
14641
+ 404: {
14642
+ headers: {
14643
+ [name: string]: unknown;
14644
+ };
14645
+ content?: never;
14646
+ };
14647
+ };
14648
+ };
14649
+ resetImpactEstimation: {
14650
+ parameters: {
14651
+ query?: never;
14652
+ header?: never;
14653
+ path: {
14654
+ /**
14655
+ * @description Pipeline ID to reset estimations for
14656
+ * @example pipe-prod-1
14657
+ */
14658
+ pipelineId: string;
14659
+ };
14660
+ cookie?: never;
14661
+ };
14662
+ requestBody?: never;
14663
+ responses: {
14664
+ /** @description Reset complete */
14665
+ 200: {
14666
+ headers: {
14667
+ [name: string]: unknown;
14668
+ };
14669
+ content: {
14670
+ "application/json": components["schemas"]["ResetImpactEstimationResponse"];
14671
+ };
14672
+ };
14673
+ /** @description Unauthorized */
14674
+ 401: {
14675
+ headers: {
14676
+ [name: string]: unknown;
14677
+ };
14678
+ content?: never;
14679
+ };
14680
+ /** @description Not Found - Pipeline not found. */
14681
+ 404: {
14682
+ headers: {
14683
+ [name: string]: unknown;
14684
+ };
14685
+ content?: never;
14686
+ };
14687
+ };
14688
+ };
14689
+ getIntegrationExceptionImpacts: {
14690
+ parameters: {
14691
+ query?: never;
14692
+ header?: never;
14693
+ path: {
14694
+ /**
14695
+ * @description Pipeline ID providing the dataset scope
14696
+ * @example pipe-prod-1
14697
+ */
14698
+ pipelineId: string;
14699
+ /**
14700
+ * @description Integration whose exceptions to look up impacts for
14701
+ * @example int-dd-1
14702
+ */
14703
+ integrationId: string;
14704
+ };
14705
+ cookie?: never;
14706
+ };
14707
+ requestBody?: never;
14708
+ responses: {
14709
+ /** @description Impact percentages retrieved */
14710
+ 200: {
14711
+ headers: {
14712
+ [name: string]: unknown;
14713
+ };
14714
+ content: {
14715
+ "application/json": {
14716
+ [key: string]: number;
14717
+ };
14718
+ };
14719
+ };
14720
+ /** @description Unauthorized */
14721
+ 401: {
14722
+ headers: {
14723
+ [name: string]: unknown;
14724
+ };
14725
+ content?: never;
14726
+ };
14727
+ /** @description Not Found - Pipeline not found. */
14728
+ 404: {
14729
+ headers: {
14730
+ [name: string]: unknown;
14731
+ };
14732
+ content?: never;
14733
+ };
14734
+ };
14735
+ };
14648
14736
  parse_2: {
14649
14737
  parameters: {
14650
14738
  query?: never;