@sentry/api 0.435.0 → 0.437.0
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.
- package/dist/operations.js +21 -21
- package/dist/sentry-client.gen.d.ts +207 -6
- package/dist/types.gen.d.ts +819 -25
- package/dist/valibot.gen.d.ts +512 -24
- package/dist/valibot.js +752 -168
- package/dist/zod.gen.d.ts +5536 -137
- package/dist/zod.js +1174 -35
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -113,6 +113,9 @@ export type BaseDetectorTypeValidator = {
|
|
|
113
113
|
*
|
|
114
114
|
* The data sources for the metric monitor to use based on what you want to measure.
|
|
115
115
|
*
|
|
116
|
+
* The schema of each data source lists the `aggregate` values that its `dataset` and
|
|
117
|
+
* `eventTypes` accept.
|
|
118
|
+
*
|
|
116
119
|
* `timeWindow` is measured in seconds. Cron Monitors use schedules instead of this field.
|
|
117
120
|
* Legacy metric alert rules expressed this value in minutes, so multiply a legacy value
|
|
118
121
|
* by 60 when migrating it to a monitor. For example, a legacy 5-minute window becomes
|
|
@@ -201,7 +204,7 @@ export type BaseDetectorTypeValidator = {
|
|
|
201
204
|
*
|
|
202
205
|
* **Largest Contentful Paint Metric Monitor**
|
|
203
206
|
* - `dataset`: Use `events_analytics_platform`. To query transaction spans, add `is_transaction:true` to `query`.
|
|
204
|
-
* - `aggregate`: Valid values are `avg(measurements.lcp)`, `p50(measurements.lcp)`, `p75(measurements.lcp)`, `p95(measurements.lcp)`, `p99(measurements.lcp)`,
|
|
207
|
+
* - `aggregate`: Valid values are `avg(measurements.lcp)`, `p50(measurements.lcp)`, `p75(measurements.lcp)`, `p95(measurements.lcp)`, `p99(measurements.lcp)`, and `p100(measurements.lcp)`.
|
|
205
208
|
*
|
|
206
209
|
* ```json
|
|
207
210
|
* [
|
|
@@ -227,7 +230,6 @@ export type BaseDetectorTypeValidator = {
|
|
|
227
230
|
* `p95(x)`, where x is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
|
|
228
231
|
* `p99(x)`, where x is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
|
|
229
232
|
* `p100(x)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
|
|
230
|
-
* `percentile(x,y)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`, and `y` is the custom percentile.
|
|
231
233
|
* `failure_rate()`
|
|
232
234
|
* `apdex(x)`, where `x` is the value of the Apdex score.
|
|
233
235
|
* `count()`
|
|
@@ -248,7 +250,91 @@ export type BaseDetectorTypeValidator = {
|
|
|
248
250
|
* ```
|
|
249
251
|
*
|
|
250
252
|
*/
|
|
251
|
-
data_sources?: Array<
|
|
253
|
+
data_sources?: Array<{
|
|
254
|
+
query_type?: 0;
|
|
255
|
+
dataset: 'events';
|
|
256
|
+
/**
|
|
257
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
258
|
+
*/
|
|
259
|
+
query: string;
|
|
260
|
+
aggregate: 'count()' | 'count_unique(user)' | 'count_unique(dist)' | 'count_unique(release)' | 'count_unique(tags[sentry:user])' | 'count_unique(tags[sentry:dist])' | 'count_unique(tags[sentry:release])';
|
|
261
|
+
/**
|
|
262
|
+
* The time window to aggregate over, in seconds.
|
|
263
|
+
*/
|
|
264
|
+
time_window: number;
|
|
265
|
+
environment: string | null;
|
|
266
|
+
event_types: Array<'error' | 'default'>;
|
|
267
|
+
extrapolation_mode?: string | null;
|
|
268
|
+
} | {
|
|
269
|
+
query_type?: 1;
|
|
270
|
+
dataset: 'events_analytics_platform';
|
|
271
|
+
/**
|
|
272
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
273
|
+
*/
|
|
274
|
+
query: string;
|
|
275
|
+
aggregate: string;
|
|
276
|
+
/**
|
|
277
|
+
* The time window to aggregate over, in seconds.
|
|
278
|
+
*/
|
|
279
|
+
time_window: number;
|
|
280
|
+
environment: string | null;
|
|
281
|
+
event_types: [
|
|
282
|
+
'trace_item_span'
|
|
283
|
+
];
|
|
284
|
+
extrapolation_mode?: string | null;
|
|
285
|
+
} | {
|
|
286
|
+
query_type?: 1;
|
|
287
|
+
dataset: 'events_analytics_platform';
|
|
288
|
+
/**
|
|
289
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
290
|
+
*/
|
|
291
|
+
query: string;
|
|
292
|
+
aggregate: string;
|
|
293
|
+
/**
|
|
294
|
+
* The time window to aggregate over, in seconds.
|
|
295
|
+
*/
|
|
296
|
+
time_window: number;
|
|
297
|
+
environment: string | null;
|
|
298
|
+
event_types: [
|
|
299
|
+
'trace_item_log'
|
|
300
|
+
];
|
|
301
|
+
extrapolation_mode?: string | null;
|
|
302
|
+
} | {
|
|
303
|
+
query_type?: 1;
|
|
304
|
+
dataset: 'events_analytics_platform';
|
|
305
|
+
/**
|
|
306
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
307
|
+
*/
|
|
308
|
+
query: string;
|
|
309
|
+
aggregate: string;
|
|
310
|
+
/**
|
|
311
|
+
* The time window to aggregate over, in seconds.
|
|
312
|
+
*/
|
|
313
|
+
time_window: number;
|
|
314
|
+
environment: string | null;
|
|
315
|
+
event_types: [
|
|
316
|
+
'trace_item_metric'
|
|
317
|
+
];
|
|
318
|
+
extrapolation_mode?: string | null;
|
|
319
|
+
} | {
|
|
320
|
+
query_type?: 2;
|
|
321
|
+
dataset: 'metrics';
|
|
322
|
+
/**
|
|
323
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
324
|
+
*/
|
|
325
|
+
query: string;
|
|
326
|
+
aggregate: string;
|
|
327
|
+
/**
|
|
328
|
+
* The time window to aggregate over, in seconds.
|
|
329
|
+
*/
|
|
330
|
+
time_window: number;
|
|
331
|
+
environment: string | null;
|
|
332
|
+
/**
|
|
333
|
+
* Ignored for this dataset. Send an empty list.
|
|
334
|
+
*/
|
|
335
|
+
event_types: Array<string>;
|
|
336
|
+
extrapolation_mode?: string | null;
|
|
337
|
+
}>;
|
|
252
338
|
/**
|
|
253
339
|
*
|
|
254
340
|
* The issue detection type configuration.
|
|
@@ -3126,20 +3212,87 @@ export type EventIdLookupResponse = {
|
|
|
3126
3212
|
issueTitle: string;
|
|
3127
3213
|
subtitle: string;
|
|
3128
3214
|
resourceId: string | null;
|
|
3215
|
+
evidenceDisplay: Array<{
|
|
3216
|
+
name: string;
|
|
3217
|
+
value: string;
|
|
3218
|
+
important: boolean;
|
|
3219
|
+
}>;
|
|
3220
|
+
detectionTime: number;
|
|
3221
|
+
level: string | null;
|
|
3222
|
+
culprit: string | null;
|
|
3223
|
+
assignee: string | null;
|
|
3224
|
+
priority: number | null;
|
|
3225
|
+
type: 8001;
|
|
3129
3226
|
evidenceData: {
|
|
3130
|
-
|
|
3227
|
+
detectorId: number;
|
|
3228
|
+
alertId: number | null;
|
|
3229
|
+
value: number | {
|
|
3230
|
+
value: number;
|
|
3231
|
+
sourceId: string;
|
|
3232
|
+
subscriptionId: string;
|
|
3233
|
+
timestamp: string;
|
|
3234
|
+
} | {
|
|
3235
|
+
[key: string]: unknown;
|
|
3236
|
+
} | null;
|
|
3237
|
+
dataPacketSourceId: string;
|
|
3238
|
+
conditions: Array<{
|
|
3239
|
+
id: number;
|
|
3240
|
+
type: string;
|
|
3241
|
+
comparison: number | {
|
|
3242
|
+
[key: string]: unknown;
|
|
3243
|
+
};
|
|
3244
|
+
conditionResult: number;
|
|
3245
|
+
}>;
|
|
3246
|
+
config: {
|
|
3247
|
+
detectionType: 'static' | 'percent' | 'dynamic';
|
|
3248
|
+
comparisonDelta?: number | null;
|
|
3249
|
+
};
|
|
3250
|
+
dataSources: Array<{
|
|
3251
|
+
id: string;
|
|
3252
|
+
organizationId: string;
|
|
3253
|
+
type: string;
|
|
3254
|
+
sourceId: string;
|
|
3255
|
+
queryObj: {
|
|
3256
|
+
id: string;
|
|
3257
|
+
status: number;
|
|
3258
|
+
subscription: string | null;
|
|
3259
|
+
snubaQuery: {
|
|
3260
|
+
id: string;
|
|
3261
|
+
dataset: string;
|
|
3262
|
+
query: string;
|
|
3263
|
+
aggregate: string;
|
|
3264
|
+
timeWindow: number;
|
|
3265
|
+
environment: string | null;
|
|
3266
|
+
eventTypes: Array<string>;
|
|
3267
|
+
extrapolationMode: string | null;
|
|
3268
|
+
};
|
|
3269
|
+
};
|
|
3270
|
+
}>;
|
|
3131
3271
|
};
|
|
3272
|
+
} | {
|
|
3273
|
+
id: string;
|
|
3274
|
+
projectId: number;
|
|
3275
|
+
eventId: string;
|
|
3276
|
+
fingerprint: Array<string>;
|
|
3277
|
+
issueTitle: string;
|
|
3278
|
+
subtitle: string;
|
|
3279
|
+
resourceId: string | null;
|
|
3132
3280
|
evidenceDisplay: Array<{
|
|
3133
3281
|
name: string;
|
|
3134
3282
|
value: string;
|
|
3135
3283
|
important: boolean;
|
|
3136
3284
|
}>;
|
|
3137
|
-
type: number;
|
|
3138
3285
|
detectionTime: number;
|
|
3139
3286
|
level: string | null;
|
|
3140
3287
|
culprit: string | null;
|
|
3141
3288
|
assignee: string | null;
|
|
3142
3289
|
priority: number | null;
|
|
3290
|
+
type: number;
|
|
3291
|
+
evidenceData: {
|
|
3292
|
+
[key: string]: unknown;
|
|
3293
|
+
};
|
|
3294
|
+
} | {
|
|
3295
|
+
[key: string]: unknown;
|
|
3143
3296
|
} | null;
|
|
3144
3297
|
_meta: {
|
|
3145
3298
|
[key: string]: unknown;
|
|
@@ -3772,20 +3925,87 @@ export type GroupHashesResponse = Array<{
|
|
|
3772
3925
|
issueTitle: string;
|
|
3773
3926
|
subtitle: string;
|
|
3774
3927
|
resourceId: string | null;
|
|
3928
|
+
evidenceDisplay: Array<{
|
|
3929
|
+
name: string;
|
|
3930
|
+
value: string;
|
|
3931
|
+
important: boolean;
|
|
3932
|
+
}>;
|
|
3933
|
+
detectionTime: number;
|
|
3934
|
+
level: string | null;
|
|
3935
|
+
culprit: string | null;
|
|
3936
|
+
assignee: string | null;
|
|
3937
|
+
priority: number | null;
|
|
3938
|
+
type: 8001;
|
|
3775
3939
|
evidenceData: {
|
|
3776
|
-
|
|
3940
|
+
detectorId: number;
|
|
3941
|
+
alertId: number | null;
|
|
3942
|
+
value: number | {
|
|
3943
|
+
value: number;
|
|
3944
|
+
sourceId: string;
|
|
3945
|
+
subscriptionId: string;
|
|
3946
|
+
timestamp: string;
|
|
3947
|
+
} | {
|
|
3948
|
+
[key: string]: unknown;
|
|
3949
|
+
} | null;
|
|
3950
|
+
dataPacketSourceId: string;
|
|
3951
|
+
conditions: Array<{
|
|
3952
|
+
id: number;
|
|
3953
|
+
type: string;
|
|
3954
|
+
comparison: number | {
|
|
3955
|
+
[key: string]: unknown;
|
|
3956
|
+
};
|
|
3957
|
+
conditionResult: number;
|
|
3958
|
+
}>;
|
|
3959
|
+
config: {
|
|
3960
|
+
detectionType: 'static' | 'percent' | 'dynamic';
|
|
3961
|
+
comparisonDelta?: number | null;
|
|
3962
|
+
};
|
|
3963
|
+
dataSources: Array<{
|
|
3964
|
+
id: string;
|
|
3965
|
+
organizationId: string;
|
|
3966
|
+
type: string;
|
|
3967
|
+
sourceId: string;
|
|
3968
|
+
queryObj: {
|
|
3969
|
+
id: string;
|
|
3970
|
+
status: number;
|
|
3971
|
+
subscription: string | null;
|
|
3972
|
+
snubaQuery: {
|
|
3973
|
+
id: string;
|
|
3974
|
+
dataset: string;
|
|
3975
|
+
query: string;
|
|
3976
|
+
aggregate: string;
|
|
3977
|
+
timeWindow: number;
|
|
3978
|
+
environment: string | null;
|
|
3979
|
+
eventTypes: Array<string>;
|
|
3980
|
+
extrapolationMode: string | null;
|
|
3981
|
+
};
|
|
3982
|
+
};
|
|
3983
|
+
}>;
|
|
3777
3984
|
};
|
|
3985
|
+
} | {
|
|
3986
|
+
id: string;
|
|
3987
|
+
projectId: number;
|
|
3988
|
+
eventId: string;
|
|
3989
|
+
fingerprint: Array<string>;
|
|
3990
|
+
issueTitle: string;
|
|
3991
|
+
subtitle: string;
|
|
3992
|
+
resourceId: string | null;
|
|
3778
3993
|
evidenceDisplay: Array<{
|
|
3779
3994
|
name: string;
|
|
3780
3995
|
value: string;
|
|
3781
3996
|
important: boolean;
|
|
3782
3997
|
}>;
|
|
3783
|
-
type: number;
|
|
3784
3998
|
detectionTime: number;
|
|
3785
3999
|
level: string | null;
|
|
3786
4000
|
culprit: string | null;
|
|
3787
4001
|
assignee: string | null;
|
|
3788
4002
|
priority: number | null;
|
|
4003
|
+
type: number;
|
|
4004
|
+
evidenceData: {
|
|
4005
|
+
[key: string]: unknown;
|
|
4006
|
+
};
|
|
4007
|
+
} | {
|
|
4008
|
+
[key: string]: unknown;
|
|
3789
4009
|
} | null;
|
|
3790
4010
|
_meta: {
|
|
3791
4011
|
[key: string]: unknown;
|
|
@@ -4352,20 +4572,87 @@ export type IssueEventDetailsResponse = {
|
|
|
4352
4572
|
issueTitle: string;
|
|
4353
4573
|
subtitle: string;
|
|
4354
4574
|
resourceId: string | null;
|
|
4575
|
+
evidenceDisplay: Array<{
|
|
4576
|
+
name: string;
|
|
4577
|
+
value: string;
|
|
4578
|
+
important: boolean;
|
|
4579
|
+
}>;
|
|
4580
|
+
detectionTime: number;
|
|
4581
|
+
level: string | null;
|
|
4582
|
+
culprit: string | null;
|
|
4583
|
+
assignee: string | null;
|
|
4584
|
+
priority: number | null;
|
|
4585
|
+
type: 8001;
|
|
4355
4586
|
evidenceData: {
|
|
4356
|
-
|
|
4587
|
+
detectorId: number;
|
|
4588
|
+
alertId: number | null;
|
|
4589
|
+
value: number | {
|
|
4590
|
+
value: number;
|
|
4591
|
+
sourceId: string;
|
|
4592
|
+
subscriptionId: string;
|
|
4593
|
+
timestamp: string;
|
|
4594
|
+
} | {
|
|
4595
|
+
[key: string]: unknown;
|
|
4596
|
+
} | null;
|
|
4597
|
+
dataPacketSourceId: string;
|
|
4598
|
+
conditions: Array<{
|
|
4599
|
+
id: number;
|
|
4600
|
+
type: string;
|
|
4601
|
+
comparison: number | {
|
|
4602
|
+
[key: string]: unknown;
|
|
4603
|
+
};
|
|
4604
|
+
conditionResult: number;
|
|
4605
|
+
}>;
|
|
4606
|
+
config: {
|
|
4607
|
+
detectionType: 'static' | 'percent' | 'dynamic';
|
|
4608
|
+
comparisonDelta?: number | null;
|
|
4609
|
+
};
|
|
4610
|
+
dataSources: Array<{
|
|
4611
|
+
id: string;
|
|
4612
|
+
organizationId: string;
|
|
4613
|
+
type: string;
|
|
4614
|
+
sourceId: string;
|
|
4615
|
+
queryObj: {
|
|
4616
|
+
id: string;
|
|
4617
|
+
status: number;
|
|
4618
|
+
subscription: string | null;
|
|
4619
|
+
snubaQuery: {
|
|
4620
|
+
id: string;
|
|
4621
|
+
dataset: string;
|
|
4622
|
+
query: string;
|
|
4623
|
+
aggregate: string;
|
|
4624
|
+
timeWindow: number;
|
|
4625
|
+
environment: string | null;
|
|
4626
|
+
eventTypes: Array<string>;
|
|
4627
|
+
extrapolationMode: string | null;
|
|
4628
|
+
};
|
|
4629
|
+
};
|
|
4630
|
+
}>;
|
|
4357
4631
|
};
|
|
4632
|
+
} | {
|
|
4633
|
+
id: string;
|
|
4634
|
+
projectId: number;
|
|
4635
|
+
eventId: string;
|
|
4636
|
+
fingerprint: Array<string>;
|
|
4637
|
+
issueTitle: string;
|
|
4638
|
+
subtitle: string;
|
|
4639
|
+
resourceId: string | null;
|
|
4358
4640
|
evidenceDisplay: Array<{
|
|
4359
4641
|
name: string;
|
|
4360
4642
|
value: string;
|
|
4361
4643
|
important: boolean;
|
|
4362
4644
|
}>;
|
|
4363
|
-
type: number;
|
|
4364
4645
|
detectionTime: number;
|
|
4365
4646
|
level: string | null;
|
|
4366
4647
|
culprit: string | null;
|
|
4367
4648
|
assignee: string | null;
|
|
4368
4649
|
priority: number | null;
|
|
4650
|
+
type: number;
|
|
4651
|
+
evidenceData: {
|
|
4652
|
+
[key: string]: unknown;
|
|
4653
|
+
};
|
|
4654
|
+
} | {
|
|
4655
|
+
[key: string]: unknown;
|
|
4369
4656
|
} | null;
|
|
4370
4657
|
_meta: {
|
|
4371
4658
|
[key: string]: unknown;
|
|
@@ -9446,20 +9733,87 @@ export type ProjectEventDetailsResponse = {
|
|
|
9446
9733
|
issueTitle: string;
|
|
9447
9734
|
subtitle: string;
|
|
9448
9735
|
resourceId: string | null;
|
|
9736
|
+
evidenceDisplay: Array<{
|
|
9737
|
+
name: string;
|
|
9738
|
+
value: string;
|
|
9739
|
+
important: boolean;
|
|
9740
|
+
}>;
|
|
9741
|
+
detectionTime: number;
|
|
9742
|
+
level: string | null;
|
|
9743
|
+
culprit: string | null;
|
|
9744
|
+
assignee: string | null;
|
|
9745
|
+
priority: number | null;
|
|
9746
|
+
type: 8001;
|
|
9449
9747
|
evidenceData: {
|
|
9450
|
-
|
|
9748
|
+
detectorId: number;
|
|
9749
|
+
alertId: number | null;
|
|
9750
|
+
value: number | {
|
|
9751
|
+
value: number;
|
|
9752
|
+
sourceId: string;
|
|
9753
|
+
subscriptionId: string;
|
|
9754
|
+
timestamp: string;
|
|
9755
|
+
} | {
|
|
9756
|
+
[key: string]: unknown;
|
|
9757
|
+
} | null;
|
|
9758
|
+
dataPacketSourceId: string;
|
|
9759
|
+
conditions: Array<{
|
|
9760
|
+
id: number;
|
|
9761
|
+
type: string;
|
|
9762
|
+
comparison: number | {
|
|
9763
|
+
[key: string]: unknown;
|
|
9764
|
+
};
|
|
9765
|
+
conditionResult: number;
|
|
9766
|
+
}>;
|
|
9767
|
+
config: {
|
|
9768
|
+
detectionType: 'static' | 'percent' | 'dynamic';
|
|
9769
|
+
comparisonDelta?: number | null;
|
|
9770
|
+
};
|
|
9771
|
+
dataSources: Array<{
|
|
9772
|
+
id: string;
|
|
9773
|
+
organizationId: string;
|
|
9774
|
+
type: string;
|
|
9775
|
+
sourceId: string;
|
|
9776
|
+
queryObj: {
|
|
9777
|
+
id: string;
|
|
9778
|
+
status: number;
|
|
9779
|
+
subscription: string | null;
|
|
9780
|
+
snubaQuery: {
|
|
9781
|
+
id: string;
|
|
9782
|
+
dataset: string;
|
|
9783
|
+
query: string;
|
|
9784
|
+
aggregate: string;
|
|
9785
|
+
timeWindow: number;
|
|
9786
|
+
environment: string | null;
|
|
9787
|
+
eventTypes: Array<string>;
|
|
9788
|
+
extrapolationMode: string | null;
|
|
9789
|
+
};
|
|
9790
|
+
};
|
|
9791
|
+
}>;
|
|
9451
9792
|
};
|
|
9793
|
+
} | {
|
|
9794
|
+
id: string;
|
|
9795
|
+
projectId: number;
|
|
9796
|
+
eventId: string;
|
|
9797
|
+
fingerprint: Array<string>;
|
|
9798
|
+
issueTitle: string;
|
|
9799
|
+
subtitle: string;
|
|
9800
|
+
resourceId: string | null;
|
|
9452
9801
|
evidenceDisplay: Array<{
|
|
9453
9802
|
name: string;
|
|
9454
9803
|
value: string;
|
|
9455
9804
|
important: boolean;
|
|
9456
9805
|
}>;
|
|
9457
|
-
type: number;
|
|
9458
9806
|
detectionTime: number;
|
|
9459
9807
|
level: string | null;
|
|
9460
9808
|
culprit: string | null;
|
|
9461
9809
|
assignee: string | null;
|
|
9462
9810
|
priority: number | null;
|
|
9811
|
+
type: number;
|
|
9812
|
+
evidenceData: {
|
|
9813
|
+
[key: string]: unknown;
|
|
9814
|
+
};
|
|
9815
|
+
} | {
|
|
9816
|
+
[key: string]: unknown;
|
|
9463
9817
|
} | null;
|
|
9464
9818
|
_meta: {
|
|
9465
9819
|
[key: string]: unknown;
|
|
@@ -15849,6 +16203,9 @@ export type UpdateOrganizationDetectorData = {
|
|
|
15849
16203
|
*
|
|
15850
16204
|
* The data sources for the metric monitor to use based on what you want to measure.
|
|
15851
16205
|
*
|
|
16206
|
+
* The schema of each data source lists the `aggregate` values that its `dataset` and
|
|
16207
|
+
* `eventTypes` accept.
|
|
16208
|
+
*
|
|
15852
16209
|
* `timeWindow` is measured in seconds. Cron Monitors use schedules instead of this field.
|
|
15853
16210
|
* Legacy metric alert rules expressed this value in minutes, so multiply a legacy value
|
|
15854
16211
|
* by 60 when migrating it to a monitor. For example, a legacy 5-minute window becomes
|
|
@@ -15937,7 +16294,7 @@ export type UpdateOrganizationDetectorData = {
|
|
|
15937
16294
|
*
|
|
15938
16295
|
* **Largest Contentful Paint Metric Monitor**
|
|
15939
16296
|
* - `dataset`: Use `events_analytics_platform`. To query transaction spans, add `is_transaction:true` to `query`.
|
|
15940
|
-
* - `aggregate`: Valid values are `avg(measurements.lcp)`, `p50(measurements.lcp)`, `p75(measurements.lcp)`, `p95(measurements.lcp)`, `p99(measurements.lcp)`,
|
|
16297
|
+
* - `aggregate`: Valid values are `avg(measurements.lcp)`, `p50(measurements.lcp)`, `p75(measurements.lcp)`, `p95(measurements.lcp)`, `p99(measurements.lcp)`, and `p100(measurements.lcp)`.
|
|
15941
16298
|
*
|
|
15942
16299
|
* ```json
|
|
15943
16300
|
* [
|
|
@@ -15963,7 +16320,6 @@ export type UpdateOrganizationDetectorData = {
|
|
|
15963
16320
|
* `p95(x)`, where x is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
|
|
15964
16321
|
* `p99(x)`, where x is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
|
|
15965
16322
|
* `p100(x)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
|
|
15966
|
-
* `percentile(x,y)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`, and `y` is the custom percentile.
|
|
15967
16323
|
* `failure_rate()`
|
|
15968
16324
|
* `apdex(x)`, where `x` is the value of the Apdex score.
|
|
15969
16325
|
* `count()`
|
|
@@ -15984,7 +16340,91 @@ export type UpdateOrganizationDetectorData = {
|
|
|
15984
16340
|
* ```
|
|
15985
16341
|
*
|
|
15986
16342
|
*/
|
|
15987
|
-
data_sources?: Array<
|
|
16343
|
+
data_sources?: Array<{
|
|
16344
|
+
query_type?: 0;
|
|
16345
|
+
dataset: 'events';
|
|
16346
|
+
/**
|
|
16347
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
16348
|
+
*/
|
|
16349
|
+
query: string;
|
|
16350
|
+
aggregate: 'count()' | 'count_unique(user)' | 'count_unique(dist)' | 'count_unique(release)' | 'count_unique(tags[sentry:user])' | 'count_unique(tags[sentry:dist])' | 'count_unique(tags[sentry:release])';
|
|
16351
|
+
/**
|
|
16352
|
+
* The time window to aggregate over, in seconds.
|
|
16353
|
+
*/
|
|
16354
|
+
time_window: number;
|
|
16355
|
+
environment: string | null;
|
|
16356
|
+
event_types: Array<'error' | 'default'>;
|
|
16357
|
+
extrapolation_mode?: string | null;
|
|
16358
|
+
} | {
|
|
16359
|
+
query_type?: 1;
|
|
16360
|
+
dataset: 'events_analytics_platform';
|
|
16361
|
+
/**
|
|
16362
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
16363
|
+
*/
|
|
16364
|
+
query: string;
|
|
16365
|
+
aggregate: string;
|
|
16366
|
+
/**
|
|
16367
|
+
* The time window to aggregate over, in seconds.
|
|
16368
|
+
*/
|
|
16369
|
+
time_window: number;
|
|
16370
|
+
environment: string | null;
|
|
16371
|
+
event_types: [
|
|
16372
|
+
'trace_item_span'
|
|
16373
|
+
];
|
|
16374
|
+
extrapolation_mode?: string | null;
|
|
16375
|
+
} | {
|
|
16376
|
+
query_type?: 1;
|
|
16377
|
+
dataset: 'events_analytics_platform';
|
|
16378
|
+
/**
|
|
16379
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
16380
|
+
*/
|
|
16381
|
+
query: string;
|
|
16382
|
+
aggregate: string;
|
|
16383
|
+
/**
|
|
16384
|
+
* The time window to aggregate over, in seconds.
|
|
16385
|
+
*/
|
|
16386
|
+
time_window: number;
|
|
16387
|
+
environment: string | null;
|
|
16388
|
+
event_types: [
|
|
16389
|
+
'trace_item_log'
|
|
16390
|
+
];
|
|
16391
|
+
extrapolation_mode?: string | null;
|
|
16392
|
+
} | {
|
|
16393
|
+
query_type?: 1;
|
|
16394
|
+
dataset: 'events_analytics_platform';
|
|
16395
|
+
/**
|
|
16396
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
16397
|
+
*/
|
|
16398
|
+
query: string;
|
|
16399
|
+
aggregate: string;
|
|
16400
|
+
/**
|
|
16401
|
+
* The time window to aggregate over, in seconds.
|
|
16402
|
+
*/
|
|
16403
|
+
time_window: number;
|
|
16404
|
+
environment: string | null;
|
|
16405
|
+
event_types: [
|
|
16406
|
+
'trace_item_metric'
|
|
16407
|
+
];
|
|
16408
|
+
extrapolation_mode?: string | null;
|
|
16409
|
+
} | {
|
|
16410
|
+
query_type?: 2;
|
|
16411
|
+
dataset: 'metrics';
|
|
16412
|
+
/**
|
|
16413
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
16414
|
+
*/
|
|
16415
|
+
query: string;
|
|
16416
|
+
aggregate: string;
|
|
16417
|
+
/**
|
|
16418
|
+
* The time window to aggregate over, in seconds.
|
|
16419
|
+
*/
|
|
16420
|
+
time_window: number;
|
|
16421
|
+
environment: string | null;
|
|
16422
|
+
/**
|
|
16423
|
+
* Ignored for this dataset. Send an empty list.
|
|
16424
|
+
*/
|
|
16425
|
+
event_types: Array<string>;
|
|
16426
|
+
extrapolation_mode?: string | null;
|
|
16427
|
+
}>;
|
|
15988
16428
|
/**
|
|
15989
16429
|
*
|
|
15990
16430
|
* The issue detection type configuration.
|
|
@@ -16953,20 +17393,87 @@ export type ResolveOrganizationEventIdResponses = {
|
|
|
16953
17393
|
issueTitle: string;
|
|
16954
17394
|
subtitle: string;
|
|
16955
17395
|
resourceId: string | null;
|
|
17396
|
+
evidenceDisplay: Array<{
|
|
17397
|
+
name: string;
|
|
17398
|
+
value: string;
|
|
17399
|
+
important: boolean;
|
|
17400
|
+
}>;
|
|
17401
|
+
detectionTime: number;
|
|
17402
|
+
level: string | null;
|
|
17403
|
+
culprit: string | null;
|
|
17404
|
+
assignee: string | null;
|
|
17405
|
+
priority: number | null;
|
|
17406
|
+
type: 8001;
|
|
16956
17407
|
evidenceData: {
|
|
16957
|
-
|
|
17408
|
+
detectorId: number;
|
|
17409
|
+
alertId: number | null;
|
|
17410
|
+
value: number | {
|
|
17411
|
+
value: number;
|
|
17412
|
+
sourceId: string;
|
|
17413
|
+
subscriptionId: string;
|
|
17414
|
+
timestamp: string;
|
|
17415
|
+
} | {
|
|
17416
|
+
[key: string]: unknown;
|
|
17417
|
+
} | null;
|
|
17418
|
+
dataPacketSourceId: string;
|
|
17419
|
+
conditions: Array<{
|
|
17420
|
+
id: number;
|
|
17421
|
+
type: string;
|
|
17422
|
+
comparison: number | {
|
|
17423
|
+
[key: string]: unknown;
|
|
17424
|
+
};
|
|
17425
|
+
conditionResult: number;
|
|
17426
|
+
}>;
|
|
17427
|
+
config: {
|
|
17428
|
+
detectionType: 'static' | 'percent' | 'dynamic';
|
|
17429
|
+
comparisonDelta?: number | null;
|
|
17430
|
+
};
|
|
17431
|
+
dataSources: Array<{
|
|
17432
|
+
id: string;
|
|
17433
|
+
organizationId: string;
|
|
17434
|
+
type: string;
|
|
17435
|
+
sourceId: string;
|
|
17436
|
+
queryObj: {
|
|
17437
|
+
id: string;
|
|
17438
|
+
status: number;
|
|
17439
|
+
subscription: string | null;
|
|
17440
|
+
snubaQuery: {
|
|
17441
|
+
id: string;
|
|
17442
|
+
dataset: string;
|
|
17443
|
+
query: string;
|
|
17444
|
+
aggregate: string;
|
|
17445
|
+
timeWindow: number;
|
|
17446
|
+
environment: string | null;
|
|
17447
|
+
eventTypes: Array<string>;
|
|
17448
|
+
extrapolationMode: string | null;
|
|
17449
|
+
};
|
|
17450
|
+
};
|
|
17451
|
+
}>;
|
|
16958
17452
|
};
|
|
17453
|
+
} | {
|
|
17454
|
+
id: string;
|
|
17455
|
+
projectId: number;
|
|
17456
|
+
eventId: string;
|
|
17457
|
+
fingerprint: Array<string>;
|
|
17458
|
+
issueTitle: string;
|
|
17459
|
+
subtitle: string;
|
|
17460
|
+
resourceId: string | null;
|
|
16959
17461
|
evidenceDisplay: Array<{
|
|
16960
17462
|
name: string;
|
|
16961
17463
|
value: string;
|
|
16962
17464
|
important: boolean;
|
|
16963
17465
|
}>;
|
|
16964
|
-
type: number;
|
|
16965
17466
|
detectionTime: number;
|
|
16966
17467
|
level: string | null;
|
|
16967
17468
|
culprit: string | null;
|
|
16968
17469
|
assignee: string | null;
|
|
16969
17470
|
priority: number | null;
|
|
17471
|
+
type: number;
|
|
17472
|
+
evidenceData: {
|
|
17473
|
+
[key: string]: unknown;
|
|
17474
|
+
};
|
|
17475
|
+
} | {
|
|
17476
|
+
[key: string]: unknown;
|
|
16970
17477
|
} | null;
|
|
16971
17478
|
_meta: {
|
|
16972
17479
|
[key: string]: unknown;
|
|
@@ -23283,6 +23790,9 @@ export type CreateOrganizationProjectDetectorData = {
|
|
|
23283
23790
|
*
|
|
23284
23791
|
* The data sources for the metric monitor to use based on what you want to measure.
|
|
23285
23792
|
*
|
|
23793
|
+
* The schema of each data source lists the `aggregate` values that its `dataset` and
|
|
23794
|
+
* `eventTypes` accept.
|
|
23795
|
+
*
|
|
23286
23796
|
* `timeWindow` is measured in seconds. Cron Monitors use schedules instead of this field.
|
|
23287
23797
|
* Legacy metric alert rules expressed this value in minutes, so multiply a legacy value
|
|
23288
23798
|
* by 60 when migrating it to a monitor. For example, a legacy 5-minute window becomes
|
|
@@ -23371,7 +23881,7 @@ export type CreateOrganizationProjectDetectorData = {
|
|
|
23371
23881
|
*
|
|
23372
23882
|
* **Largest Contentful Paint Metric Monitor**
|
|
23373
23883
|
* - `dataset`: Use `events_analytics_platform`. To query transaction spans, add `is_transaction:true` to `query`.
|
|
23374
|
-
* - `aggregate`: Valid values are `avg(measurements.lcp)`, `p50(measurements.lcp)`, `p75(measurements.lcp)`, `p95(measurements.lcp)`, `p99(measurements.lcp)`,
|
|
23884
|
+
* - `aggregate`: Valid values are `avg(measurements.lcp)`, `p50(measurements.lcp)`, `p75(measurements.lcp)`, `p95(measurements.lcp)`, `p99(measurements.lcp)`, and `p100(measurements.lcp)`.
|
|
23375
23885
|
*
|
|
23376
23886
|
* ```json
|
|
23377
23887
|
* [
|
|
@@ -23397,7 +23907,6 @@ export type CreateOrganizationProjectDetectorData = {
|
|
|
23397
23907
|
* `p95(x)`, where x is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
|
|
23398
23908
|
* `p99(x)`, where x is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
|
|
23399
23909
|
* `p100(x)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
|
|
23400
|
-
* `percentile(x,y)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`, and `y` is the custom percentile.
|
|
23401
23910
|
* `failure_rate()`
|
|
23402
23911
|
* `apdex(x)`, where `x` is the value of the Apdex score.
|
|
23403
23912
|
* `count()`
|
|
@@ -23418,7 +23927,91 @@ export type CreateOrganizationProjectDetectorData = {
|
|
|
23418
23927
|
* ```
|
|
23419
23928
|
*
|
|
23420
23929
|
*/
|
|
23421
|
-
data_sources?: Array<
|
|
23930
|
+
data_sources?: Array<{
|
|
23931
|
+
query_type?: 0;
|
|
23932
|
+
dataset: 'events';
|
|
23933
|
+
/**
|
|
23934
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
23935
|
+
*/
|
|
23936
|
+
query: string;
|
|
23937
|
+
aggregate: 'count()' | 'count_unique(user)' | 'count_unique(dist)' | 'count_unique(release)' | 'count_unique(tags[sentry:user])' | 'count_unique(tags[sentry:dist])' | 'count_unique(tags[sentry:release])';
|
|
23938
|
+
/**
|
|
23939
|
+
* The time window to aggregate over, in seconds.
|
|
23940
|
+
*/
|
|
23941
|
+
time_window: number;
|
|
23942
|
+
environment: string | null;
|
|
23943
|
+
event_types: Array<'error' | 'default'>;
|
|
23944
|
+
extrapolation_mode?: string | null;
|
|
23945
|
+
} | {
|
|
23946
|
+
query_type?: 1;
|
|
23947
|
+
dataset: 'events_analytics_platform';
|
|
23948
|
+
/**
|
|
23949
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
23950
|
+
*/
|
|
23951
|
+
query: string;
|
|
23952
|
+
aggregate: string;
|
|
23953
|
+
/**
|
|
23954
|
+
* The time window to aggregate over, in seconds.
|
|
23955
|
+
*/
|
|
23956
|
+
time_window: number;
|
|
23957
|
+
environment: string | null;
|
|
23958
|
+
event_types: [
|
|
23959
|
+
'trace_item_span'
|
|
23960
|
+
];
|
|
23961
|
+
extrapolation_mode?: string | null;
|
|
23962
|
+
} | {
|
|
23963
|
+
query_type?: 1;
|
|
23964
|
+
dataset: 'events_analytics_platform';
|
|
23965
|
+
/**
|
|
23966
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
23967
|
+
*/
|
|
23968
|
+
query: string;
|
|
23969
|
+
aggregate: string;
|
|
23970
|
+
/**
|
|
23971
|
+
* The time window to aggregate over, in seconds.
|
|
23972
|
+
*/
|
|
23973
|
+
time_window: number;
|
|
23974
|
+
environment: string | null;
|
|
23975
|
+
event_types: [
|
|
23976
|
+
'trace_item_log'
|
|
23977
|
+
];
|
|
23978
|
+
extrapolation_mode?: string | null;
|
|
23979
|
+
} | {
|
|
23980
|
+
query_type?: 1;
|
|
23981
|
+
dataset: 'events_analytics_platform';
|
|
23982
|
+
/**
|
|
23983
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
23984
|
+
*/
|
|
23985
|
+
query: string;
|
|
23986
|
+
aggregate: string;
|
|
23987
|
+
/**
|
|
23988
|
+
* The time window to aggregate over, in seconds.
|
|
23989
|
+
*/
|
|
23990
|
+
time_window: number;
|
|
23991
|
+
environment: string | null;
|
|
23992
|
+
event_types: [
|
|
23993
|
+
'trace_item_metric'
|
|
23994
|
+
];
|
|
23995
|
+
extrapolation_mode?: string | null;
|
|
23996
|
+
} | {
|
|
23997
|
+
query_type?: 2;
|
|
23998
|
+
dataset: 'metrics';
|
|
23999
|
+
/**
|
|
24000
|
+
* A search query to filter the events, such as `is:unresolved`.
|
|
24001
|
+
*/
|
|
24002
|
+
query: string;
|
|
24003
|
+
aggregate: string;
|
|
24004
|
+
/**
|
|
24005
|
+
* The time window to aggregate over, in seconds.
|
|
24006
|
+
*/
|
|
24007
|
+
time_window: number;
|
|
24008
|
+
environment: string | null;
|
|
24009
|
+
/**
|
|
24010
|
+
* Ignored for this dataset. Send an empty list.
|
|
24011
|
+
*/
|
|
24012
|
+
event_types: Array<string>;
|
|
24013
|
+
extrapolation_mode?: string | null;
|
|
24014
|
+
}>;
|
|
23422
24015
|
/**
|
|
23423
24016
|
*
|
|
23424
24017
|
* The issue detection type configuration.
|
|
@@ -32797,20 +33390,87 @@ export type GetProjectEventResponses = {
|
|
|
32797
33390
|
issueTitle: string;
|
|
32798
33391
|
subtitle: string;
|
|
32799
33392
|
resourceId: string | null;
|
|
33393
|
+
evidenceDisplay: Array<{
|
|
33394
|
+
name: string;
|
|
33395
|
+
value: string;
|
|
33396
|
+
important: boolean;
|
|
33397
|
+
}>;
|
|
33398
|
+
detectionTime: number;
|
|
33399
|
+
level: string | null;
|
|
33400
|
+
culprit: string | null;
|
|
33401
|
+
assignee: string | null;
|
|
33402
|
+
priority: number | null;
|
|
33403
|
+
type: 8001;
|
|
32800
33404
|
evidenceData: {
|
|
32801
|
-
|
|
33405
|
+
detectorId: number;
|
|
33406
|
+
alertId: number | null;
|
|
33407
|
+
value: number | {
|
|
33408
|
+
value: number;
|
|
33409
|
+
sourceId: string;
|
|
33410
|
+
subscriptionId: string;
|
|
33411
|
+
timestamp: string;
|
|
33412
|
+
} | {
|
|
33413
|
+
[key: string]: unknown;
|
|
33414
|
+
} | null;
|
|
33415
|
+
dataPacketSourceId: string;
|
|
33416
|
+
conditions: Array<{
|
|
33417
|
+
id: number;
|
|
33418
|
+
type: string;
|
|
33419
|
+
comparison: number | {
|
|
33420
|
+
[key: string]: unknown;
|
|
33421
|
+
};
|
|
33422
|
+
conditionResult: number;
|
|
33423
|
+
}>;
|
|
33424
|
+
config: {
|
|
33425
|
+
detectionType: 'static' | 'percent' | 'dynamic';
|
|
33426
|
+
comparisonDelta?: number | null;
|
|
33427
|
+
};
|
|
33428
|
+
dataSources: Array<{
|
|
33429
|
+
id: string;
|
|
33430
|
+
organizationId: string;
|
|
33431
|
+
type: string;
|
|
33432
|
+
sourceId: string;
|
|
33433
|
+
queryObj: {
|
|
33434
|
+
id: string;
|
|
33435
|
+
status: number;
|
|
33436
|
+
subscription: string | null;
|
|
33437
|
+
snubaQuery: {
|
|
33438
|
+
id: string;
|
|
33439
|
+
dataset: string;
|
|
33440
|
+
query: string;
|
|
33441
|
+
aggregate: string;
|
|
33442
|
+
timeWindow: number;
|
|
33443
|
+
environment: string | null;
|
|
33444
|
+
eventTypes: Array<string>;
|
|
33445
|
+
extrapolationMode: string | null;
|
|
33446
|
+
};
|
|
33447
|
+
};
|
|
33448
|
+
}>;
|
|
32802
33449
|
};
|
|
33450
|
+
} | {
|
|
33451
|
+
id: string;
|
|
33452
|
+
projectId: number;
|
|
33453
|
+
eventId: string;
|
|
33454
|
+
fingerprint: Array<string>;
|
|
33455
|
+
issueTitle: string;
|
|
33456
|
+
subtitle: string;
|
|
33457
|
+
resourceId: string | null;
|
|
32803
33458
|
evidenceDisplay: Array<{
|
|
32804
33459
|
name: string;
|
|
32805
33460
|
value: string;
|
|
32806
33461
|
important: boolean;
|
|
32807
33462
|
}>;
|
|
32808
|
-
type: number;
|
|
32809
33463
|
detectionTime: number;
|
|
32810
33464
|
level: string | null;
|
|
32811
33465
|
culprit: string | null;
|
|
32812
33466
|
assignee: string | null;
|
|
32813
33467
|
priority: number | null;
|
|
33468
|
+
type: number;
|
|
33469
|
+
evidenceData: {
|
|
33470
|
+
[key: string]: unknown;
|
|
33471
|
+
};
|
|
33472
|
+
} | {
|
|
33473
|
+
[key: string]: unknown;
|
|
32814
33474
|
} | null;
|
|
32815
33475
|
_meta: {
|
|
32816
33476
|
[key: string]: unknown;
|
|
@@ -41213,20 +41873,87 @@ export type GetOrganizationIssueEventResponses = {
|
|
|
41213
41873
|
issueTitle: string;
|
|
41214
41874
|
subtitle: string;
|
|
41215
41875
|
resourceId: string | null;
|
|
41876
|
+
evidenceDisplay: Array<{
|
|
41877
|
+
name: string;
|
|
41878
|
+
value: string;
|
|
41879
|
+
important: boolean;
|
|
41880
|
+
}>;
|
|
41881
|
+
detectionTime: number;
|
|
41882
|
+
level: string | null;
|
|
41883
|
+
culprit: string | null;
|
|
41884
|
+
assignee: string | null;
|
|
41885
|
+
priority: number | null;
|
|
41886
|
+
type: 8001;
|
|
41216
41887
|
evidenceData: {
|
|
41217
|
-
|
|
41888
|
+
detectorId: number;
|
|
41889
|
+
alertId: number | null;
|
|
41890
|
+
value: number | {
|
|
41891
|
+
value: number;
|
|
41892
|
+
sourceId: string;
|
|
41893
|
+
subscriptionId: string;
|
|
41894
|
+
timestamp: string;
|
|
41895
|
+
} | {
|
|
41896
|
+
[key: string]: unknown;
|
|
41897
|
+
} | null;
|
|
41898
|
+
dataPacketSourceId: string;
|
|
41899
|
+
conditions: Array<{
|
|
41900
|
+
id: number;
|
|
41901
|
+
type: string;
|
|
41902
|
+
comparison: number | {
|
|
41903
|
+
[key: string]: unknown;
|
|
41904
|
+
};
|
|
41905
|
+
conditionResult: number;
|
|
41906
|
+
}>;
|
|
41907
|
+
config: {
|
|
41908
|
+
detectionType: 'static' | 'percent' | 'dynamic';
|
|
41909
|
+
comparisonDelta?: number | null;
|
|
41910
|
+
};
|
|
41911
|
+
dataSources: Array<{
|
|
41912
|
+
id: string;
|
|
41913
|
+
organizationId: string;
|
|
41914
|
+
type: string;
|
|
41915
|
+
sourceId: string;
|
|
41916
|
+
queryObj: {
|
|
41917
|
+
id: string;
|
|
41918
|
+
status: number;
|
|
41919
|
+
subscription: string | null;
|
|
41920
|
+
snubaQuery: {
|
|
41921
|
+
id: string;
|
|
41922
|
+
dataset: string;
|
|
41923
|
+
query: string;
|
|
41924
|
+
aggregate: string;
|
|
41925
|
+
timeWindow: number;
|
|
41926
|
+
environment: string | null;
|
|
41927
|
+
eventTypes: Array<string>;
|
|
41928
|
+
extrapolationMode: string | null;
|
|
41929
|
+
};
|
|
41930
|
+
};
|
|
41931
|
+
}>;
|
|
41218
41932
|
};
|
|
41933
|
+
} | {
|
|
41934
|
+
id: string;
|
|
41935
|
+
projectId: number;
|
|
41936
|
+
eventId: string;
|
|
41937
|
+
fingerprint: Array<string>;
|
|
41938
|
+
issueTitle: string;
|
|
41939
|
+
subtitle: string;
|
|
41940
|
+
resourceId: string | null;
|
|
41219
41941
|
evidenceDisplay: Array<{
|
|
41220
41942
|
name: string;
|
|
41221
41943
|
value: string;
|
|
41222
41944
|
important: boolean;
|
|
41223
41945
|
}>;
|
|
41224
|
-
type: number;
|
|
41225
41946
|
detectionTime: number;
|
|
41226
41947
|
level: string | null;
|
|
41227
41948
|
culprit: string | null;
|
|
41228
41949
|
assignee: string | null;
|
|
41229
41950
|
priority: number | null;
|
|
41951
|
+
type: number;
|
|
41952
|
+
evidenceData: {
|
|
41953
|
+
[key: string]: unknown;
|
|
41954
|
+
};
|
|
41955
|
+
} | {
|
|
41956
|
+
[key: string]: unknown;
|
|
41230
41957
|
} | null;
|
|
41231
41958
|
_meta: {
|
|
41232
41959
|
[key: string]: unknown;
|
|
@@ -41506,20 +42233,87 @@ export type ListOrganizationIssueHashesResponses = {
|
|
|
41506
42233
|
issueTitle: string;
|
|
41507
42234
|
subtitle: string;
|
|
41508
42235
|
resourceId: string | null;
|
|
42236
|
+
evidenceDisplay: Array<{
|
|
42237
|
+
name: string;
|
|
42238
|
+
value: string;
|
|
42239
|
+
important: boolean;
|
|
42240
|
+
}>;
|
|
42241
|
+
detectionTime: number;
|
|
42242
|
+
level: string | null;
|
|
42243
|
+
culprit: string | null;
|
|
42244
|
+
assignee: string | null;
|
|
42245
|
+
priority: number | null;
|
|
42246
|
+
type: 8001;
|
|
41509
42247
|
evidenceData: {
|
|
41510
|
-
|
|
42248
|
+
detectorId: number;
|
|
42249
|
+
alertId: number | null;
|
|
42250
|
+
value: number | {
|
|
42251
|
+
value: number;
|
|
42252
|
+
sourceId: string;
|
|
42253
|
+
subscriptionId: string;
|
|
42254
|
+
timestamp: string;
|
|
42255
|
+
} | {
|
|
42256
|
+
[key: string]: unknown;
|
|
42257
|
+
} | null;
|
|
42258
|
+
dataPacketSourceId: string;
|
|
42259
|
+
conditions: Array<{
|
|
42260
|
+
id: number;
|
|
42261
|
+
type: string;
|
|
42262
|
+
comparison: number | {
|
|
42263
|
+
[key: string]: unknown;
|
|
42264
|
+
};
|
|
42265
|
+
conditionResult: number;
|
|
42266
|
+
}>;
|
|
42267
|
+
config: {
|
|
42268
|
+
detectionType: 'static' | 'percent' | 'dynamic';
|
|
42269
|
+
comparisonDelta?: number | null;
|
|
42270
|
+
};
|
|
42271
|
+
dataSources: Array<{
|
|
42272
|
+
id: string;
|
|
42273
|
+
organizationId: string;
|
|
42274
|
+
type: string;
|
|
42275
|
+
sourceId: string;
|
|
42276
|
+
queryObj: {
|
|
42277
|
+
id: string;
|
|
42278
|
+
status: number;
|
|
42279
|
+
subscription: string | null;
|
|
42280
|
+
snubaQuery: {
|
|
42281
|
+
id: string;
|
|
42282
|
+
dataset: string;
|
|
42283
|
+
query: string;
|
|
42284
|
+
aggregate: string;
|
|
42285
|
+
timeWindow: number;
|
|
42286
|
+
environment: string | null;
|
|
42287
|
+
eventTypes: Array<string>;
|
|
42288
|
+
extrapolationMode: string | null;
|
|
42289
|
+
};
|
|
42290
|
+
};
|
|
42291
|
+
}>;
|
|
41511
42292
|
};
|
|
42293
|
+
} | {
|
|
42294
|
+
id: string;
|
|
42295
|
+
projectId: number;
|
|
42296
|
+
eventId: string;
|
|
42297
|
+
fingerprint: Array<string>;
|
|
42298
|
+
issueTitle: string;
|
|
42299
|
+
subtitle: string;
|
|
42300
|
+
resourceId: string | null;
|
|
41512
42301
|
evidenceDisplay: Array<{
|
|
41513
42302
|
name: string;
|
|
41514
42303
|
value: string;
|
|
41515
42304
|
important: boolean;
|
|
41516
42305
|
}>;
|
|
41517
|
-
type: number;
|
|
41518
42306
|
detectionTime: number;
|
|
41519
42307
|
level: string | null;
|
|
41520
42308
|
culprit: string | null;
|
|
41521
42309
|
assignee: string | null;
|
|
41522
42310
|
priority: number | null;
|
|
42311
|
+
type: number;
|
|
42312
|
+
evidenceData: {
|
|
42313
|
+
[key: string]: unknown;
|
|
42314
|
+
};
|
|
42315
|
+
} | {
|
|
42316
|
+
[key: string]: unknown;
|
|
41523
42317
|
} | null;
|
|
41524
42318
|
_meta: {
|
|
41525
42319
|
[key: string]: unknown;
|