@sentry/api 0.356.0 → 0.357.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.
Files changed (2) hide show
  1. package/dist/types.gen.d.ts +135 -102
  2. package/package.json +1 -1
@@ -81,7 +81,12 @@ export type BaseDetectorTypeValidator = {
81
81
  workflow_ids?: Array<number>;
82
82
  /**
83
83
  *
84
- * The data sources for the monitor to use based on what you want to measure.
84
+ * The data sources for the metric monitor to use based on what you want to measure.
85
+ *
86
+ * `timeWindow` is measured in seconds. Cron Monitors use schedules instead of this field.
87
+ * Legacy metric alert rules expressed this value in minutes, so multiply a legacy value
88
+ * by 60 when migrating it to a monitor. For example, a legacy 5-minute window becomes
89
+ * `"timeWindow": 300`.
85
90
  *
86
91
  * **Number of Errors Metric Monitor**
87
92
  * - `eventTypes`: Any of `error` or `default`.
@@ -94,9 +99,9 @@ export type BaseDetectorTypeValidator = {
94
99
  * "eventTypes": ["default", "error"],
95
100
  * "query": "is:unresolved",
96
101
  * "queryType": 0,
97
- * "timeWindow": 3600,
98
- * },
99
- * ],
102
+ * "timeWindow": 3600
103
+ * }
104
+ * ]
100
105
  * ```
101
106
  *
102
107
  * **Users Experiencing Errors Metric Monitor**
@@ -110,9 +115,9 @@ export type BaseDetectorTypeValidator = {
110
115
  * "eventTypes": ["default", "error"],
111
116
  * "query": "is:unresolved",
112
117
  * "queryType": 0,
113
- * "timeWindow": 3600,
114
- * },
115
- * ],
118
+ * "timeWindow": 3600
119
+ * }
120
+ * ]
116
121
  * ```
117
122
  *
118
123
  *
@@ -123,13 +128,13 @@ export type BaseDetectorTypeValidator = {
123
128
  * "aggregate":"count(span.duration)",
124
129
  * "dataset":"events_analytics_platform",
125
130
  * "environment":"prod",
126
- * "eventTypes":["trace_item_span"]
131
+ * "eventTypes":["trace_item_span"],
127
132
  * "query":"",
128
133
  * "queryType":1,
129
134
  * "timeWindow":3600,
130
- * "extrapolationMode":"unknown",
131
- * },
132
- * ],
135
+ * "extrapolationMode":"unknown"
136
+ * }
137
+ * ]
133
138
  * ```
134
139
  *
135
140
  * **Duration Metric Monitor**
@@ -139,13 +144,13 @@ export type BaseDetectorTypeValidator = {
139
144
  * "aggregate":"p95(span.duration)",
140
145
  * "dataset":"events_analytics_platform",
141
146
  * "environment":"prod",
142
- * "eventTypes":["trace_item_span"]
147
+ * "eventTypes":["trace_item_span"],
143
148
  * "query":"",
144
149
  * "queryType":1,
145
150
  * "timeWindow":3600,
146
- * "extrapolationMode":"unknown",
147
- * },
148
- * ],
151
+ * "extrapolationMode":"unknown"
152
+ * }
153
+ * ]
149
154
  * ```
150
155
  *
151
156
  * **Failure Rate Metric Monitor**
@@ -155,17 +160,17 @@ export type BaseDetectorTypeValidator = {
155
160
  * "aggregate":"failure_rate()",
156
161
  * "dataset":"events_analytics_platform",
157
162
  * "environment":"prod",
158
- * "eventTypes":["trace_item_span"]
163
+ * "eventTypes":["trace_item_span"],
159
164
  * "query":"",
160
165
  * "queryType":1,
161
166
  * "timeWindow":3600,
162
- * "extrapolationMode":"unknown",
163
- * },
164
- * ],
167
+ * "extrapolationMode":"unknown"
168
+ * }
169
+ * ]
165
170
  * ```
166
171
  *
167
172
  * **Largest Contentful Paint Metric Monitor**
168
- * - `dataset`: If a custom percentile is used, dataset is `transactions`. Otherwise, dataset is `events_analytics_platform`.
173
+ * - `dataset`: Use `events_analytics_platform`. To query transaction spans, add `is_transaction:true` to `query`.
169
174
  * - `aggregate`: Valid values are `avg(measurements.lcp)`, `p50(measurements.lcp)`, `p75(measurements.lcp)`, `p95(measurements.lcp)`, `p99(measurements.lcp)`, `p100(measurements.lcp)`, and `percentile(measurements.lcp,x)`, where `x` is your custom percentile.
170
175
  *
171
176
  * ```json
@@ -174,17 +179,17 @@ export type BaseDetectorTypeValidator = {
174
179
  * "aggregate":"p95(measurements.lcp)",
175
180
  * "dataset":"events_analytics_platform",
176
181
  * "environment":"prod",
177
- * "eventTypes":["trace_item_span"]
178
- * "query":"",
182
+ * "eventTypes":["trace_item_span"],
183
+ * "query":"is_transaction:true",
179
184
  * "queryType":1,
180
185
  * "timeWindow":3600,
181
- * "extrapolationMode":"unknown",
182
- * },
183
- * ],
186
+ * "extrapolationMode":"unknown"
187
+ * }
188
+ * ]
184
189
  * ```
185
190
  *
186
191
  * **Custom Metric Monitor**
187
- * - `dataset`: If a custom percentile is used, dataset is `transactions`. Otherwise, dataset is `events_analytics_platform`.
192
+ * - `dataset`: Use `events_analytics_platform`. To query transaction spans, add `is_transaction:true` to `query`.
188
193
  * - `aggregate`: Valid values are:
189
194
  * `avg(x)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
190
195
  * `p50(x)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
@@ -200,11 +205,17 @@ export type BaseDetectorTypeValidator = {
200
205
  * ```json
201
206
  * [
202
207
  * {
203
- * "aggregate": "p75(measurements.ttfb)"
208
+ * "aggregate": "p75(measurements.ttfb)",
204
209
  * "dataset": "events_analytics_platform",
210
+ * "environment": "prod",
205
211
  * "queryType": 1,
206
- * },
207
- * ],
212
+ * "eventTypes": ["trace_item_span"],
213
+ * "query": "is_transaction:true",
214
+ * "timeWindow": 3600,
215
+ * "extrapolationMode": "unknown"
216
+ * }
217
+ * ]
218
+ * ```
208
219
  *
209
220
  */
210
221
  data_sources?: Array<unknown>;
@@ -217,7 +228,7 @@ export type BaseDetectorTypeValidator = {
217
228
  * - `static`: Threshold based monitor
218
229
  * - `percent`: Change based monitor
219
230
  * - `dynamic`: Dynamic monitor
220
- * - `comparisonDelta`: If selecting a **change** detection type, the comparison delta is the time period at which to compare against in minutes.
231
+ * - `comparisonDelta`: If selecting a **change** detection type, the comparison delta is the time period, in seconds, at which to compare against historical data.
221
232
  * For example, a value of 3600 compares the metric tracked against data 1 hour ago.
222
233
  * - `300`: 5 minutes
223
234
  * - `900`: 15 minutes
@@ -229,20 +240,20 @@ export type BaseDetectorTypeValidator = {
229
240
  * **Threshold**
230
241
  * ```json
231
242
  * {
232
- * "detectionType": "static",
243
+ * "detectionType": "static"
233
244
  * }
234
245
  * ```
235
246
  * **Change**
236
247
  * ```json
237
248
  * {
238
249
  * "detectionType": "percent",
239
- * "comparisonDelta": 3600,
250
+ * "comparisonDelta": 3600
240
251
  * }
241
252
  * ```
242
253
  * **Dynamic**
243
254
  * ```json
244
255
  * {
245
- * "detectionType": "dynamic",
256
+ * "detectionType": "dynamic"
246
257
  * }
247
258
  * ```
248
259
  *
@@ -11393,7 +11404,7 @@ export type WorkflowValidator = {
11393
11404
  *
11394
11405
  * ```json
11395
11406
  * {
11396
- * "frequency":3600
11407
+ * "frequency": 60
11397
11408
  * }
11398
11409
  * ```
11399
11410
  *
@@ -14536,7 +14547,12 @@ export type UpdateOrganizationDetectorData = {
14536
14547
  workflow_ids?: Array<number>;
14537
14548
  /**
14538
14549
  *
14539
- * The data sources for the monitor to use based on what you want to measure.
14550
+ * The data sources for the metric monitor to use based on what you want to measure.
14551
+ *
14552
+ * `timeWindow` is measured in seconds. Cron Monitors use schedules instead of this field.
14553
+ * Legacy metric alert rules expressed this value in minutes, so multiply a legacy value
14554
+ * by 60 when migrating it to a monitor. For example, a legacy 5-minute window becomes
14555
+ * `"timeWindow": 300`.
14540
14556
  *
14541
14557
  * **Number of Errors Metric Monitor**
14542
14558
  * - `eventTypes`: Any of `error` or `default`.
@@ -14549,9 +14565,9 @@ export type UpdateOrganizationDetectorData = {
14549
14565
  * "eventTypes": ["default", "error"],
14550
14566
  * "query": "is:unresolved",
14551
14567
  * "queryType": 0,
14552
- * "timeWindow": 3600,
14553
- * },
14554
- * ],
14568
+ * "timeWindow": 3600
14569
+ * }
14570
+ * ]
14555
14571
  * ```
14556
14572
  *
14557
14573
  * **Users Experiencing Errors Metric Monitor**
@@ -14565,9 +14581,9 @@ export type UpdateOrganizationDetectorData = {
14565
14581
  * "eventTypes": ["default", "error"],
14566
14582
  * "query": "is:unresolved",
14567
14583
  * "queryType": 0,
14568
- * "timeWindow": 3600,
14569
- * },
14570
- * ],
14584
+ * "timeWindow": 3600
14585
+ * }
14586
+ * ]
14571
14587
  * ```
14572
14588
  *
14573
14589
  *
@@ -14578,13 +14594,13 @@ export type UpdateOrganizationDetectorData = {
14578
14594
  * "aggregate":"count(span.duration)",
14579
14595
  * "dataset":"events_analytics_platform",
14580
14596
  * "environment":"prod",
14581
- * "eventTypes":["trace_item_span"]
14597
+ * "eventTypes":["trace_item_span"],
14582
14598
  * "query":"",
14583
14599
  * "queryType":1,
14584
14600
  * "timeWindow":3600,
14585
- * "extrapolationMode":"unknown",
14586
- * },
14587
- * ],
14601
+ * "extrapolationMode":"unknown"
14602
+ * }
14603
+ * ]
14588
14604
  * ```
14589
14605
  *
14590
14606
  * **Duration Metric Monitor**
@@ -14594,13 +14610,13 @@ export type UpdateOrganizationDetectorData = {
14594
14610
  * "aggregate":"p95(span.duration)",
14595
14611
  * "dataset":"events_analytics_platform",
14596
14612
  * "environment":"prod",
14597
- * "eventTypes":["trace_item_span"]
14613
+ * "eventTypes":["trace_item_span"],
14598
14614
  * "query":"",
14599
14615
  * "queryType":1,
14600
14616
  * "timeWindow":3600,
14601
- * "extrapolationMode":"unknown",
14602
- * },
14603
- * ],
14617
+ * "extrapolationMode":"unknown"
14618
+ * }
14619
+ * ]
14604
14620
  * ```
14605
14621
  *
14606
14622
  * **Failure Rate Metric Monitor**
@@ -14610,17 +14626,17 @@ export type UpdateOrganizationDetectorData = {
14610
14626
  * "aggregate":"failure_rate()",
14611
14627
  * "dataset":"events_analytics_platform",
14612
14628
  * "environment":"prod",
14613
- * "eventTypes":["trace_item_span"]
14629
+ * "eventTypes":["trace_item_span"],
14614
14630
  * "query":"",
14615
14631
  * "queryType":1,
14616
14632
  * "timeWindow":3600,
14617
- * "extrapolationMode":"unknown",
14618
- * },
14619
- * ],
14633
+ * "extrapolationMode":"unknown"
14634
+ * }
14635
+ * ]
14620
14636
  * ```
14621
14637
  *
14622
14638
  * **Largest Contentful Paint Metric Monitor**
14623
- * - `dataset`: If a custom percentile is used, dataset is `transactions`. Otherwise, dataset is `events_analytics_platform`.
14639
+ * - `dataset`: Use `events_analytics_platform`. To query transaction spans, add `is_transaction:true` to `query`.
14624
14640
  * - `aggregate`: Valid values are `avg(measurements.lcp)`, `p50(measurements.lcp)`, `p75(measurements.lcp)`, `p95(measurements.lcp)`, `p99(measurements.lcp)`, `p100(measurements.lcp)`, and `percentile(measurements.lcp,x)`, where `x` is your custom percentile.
14625
14641
  *
14626
14642
  * ```json
@@ -14629,17 +14645,17 @@ export type UpdateOrganizationDetectorData = {
14629
14645
  * "aggregate":"p95(measurements.lcp)",
14630
14646
  * "dataset":"events_analytics_platform",
14631
14647
  * "environment":"prod",
14632
- * "eventTypes":["trace_item_span"]
14633
- * "query":"",
14648
+ * "eventTypes":["trace_item_span"],
14649
+ * "query":"is_transaction:true",
14634
14650
  * "queryType":1,
14635
14651
  * "timeWindow":3600,
14636
- * "extrapolationMode":"unknown",
14637
- * },
14638
- * ],
14652
+ * "extrapolationMode":"unknown"
14653
+ * }
14654
+ * ]
14639
14655
  * ```
14640
14656
  *
14641
14657
  * **Custom Metric Monitor**
14642
- * - `dataset`: If a custom percentile is used, dataset is `transactions`. Otherwise, dataset is `events_analytics_platform`.
14658
+ * - `dataset`: Use `events_analytics_platform`. To query transaction spans, add `is_transaction:true` to `query`.
14643
14659
  * - `aggregate`: Valid values are:
14644
14660
  * `avg(x)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
14645
14661
  * `p50(x)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
@@ -14655,11 +14671,17 @@ export type UpdateOrganizationDetectorData = {
14655
14671
  * ```json
14656
14672
  * [
14657
14673
  * {
14658
- * "aggregate": "p75(measurements.ttfb)"
14674
+ * "aggregate": "p75(measurements.ttfb)",
14659
14675
  * "dataset": "events_analytics_platform",
14676
+ * "environment": "prod",
14660
14677
  * "queryType": 1,
14661
- * },
14662
- * ],
14678
+ * "eventTypes": ["trace_item_span"],
14679
+ * "query": "is_transaction:true",
14680
+ * "timeWindow": 3600,
14681
+ * "extrapolationMode": "unknown"
14682
+ * }
14683
+ * ]
14684
+ * ```
14663
14685
  *
14664
14686
  */
14665
14687
  data_sources?: Array<unknown>;
@@ -14672,7 +14694,7 @@ export type UpdateOrganizationDetectorData = {
14672
14694
  * - `static`: Threshold based monitor
14673
14695
  * - `percent`: Change based monitor
14674
14696
  * - `dynamic`: Dynamic monitor
14675
- * - `comparisonDelta`: If selecting a **change** detection type, the comparison delta is the time period at which to compare against in minutes.
14697
+ * - `comparisonDelta`: If selecting a **change** detection type, the comparison delta is the time period, in seconds, at which to compare against historical data.
14676
14698
  * For example, a value of 3600 compares the metric tracked against data 1 hour ago.
14677
14699
  * - `300`: 5 minutes
14678
14700
  * - `900`: 15 minutes
@@ -14684,20 +14706,20 @@ export type UpdateOrganizationDetectorData = {
14684
14706
  * **Threshold**
14685
14707
  * ```json
14686
14708
  * {
14687
- * "detectionType": "static",
14709
+ * "detectionType": "static"
14688
14710
  * }
14689
14711
  * ```
14690
14712
  * **Change**
14691
14713
  * ```json
14692
14714
  * {
14693
14715
  * "detectionType": "percent",
14694
- * "comparisonDelta": 3600,
14716
+ * "comparisonDelta": 3600
14695
14717
  * }
14696
14718
  * ```
14697
14719
  * **Dynamic**
14698
14720
  * ```json
14699
14721
  * {
14700
- * "detectionType": "dynamic",
14722
+ * "detectionType": "dynamic"
14701
14723
  * }
14702
14724
  * ```
14703
14725
  *
@@ -21930,7 +21952,12 @@ export type CreateOrganizationProjectDetectorData = {
21930
21952
  workflow_ids?: Array<number>;
21931
21953
  /**
21932
21954
  *
21933
- * The data sources for the monitor to use based on what you want to measure.
21955
+ * The data sources for the metric monitor to use based on what you want to measure.
21956
+ *
21957
+ * `timeWindow` is measured in seconds. Cron Monitors use schedules instead of this field.
21958
+ * Legacy metric alert rules expressed this value in minutes, so multiply a legacy value
21959
+ * by 60 when migrating it to a monitor. For example, a legacy 5-minute window becomes
21960
+ * `"timeWindow": 300`.
21934
21961
  *
21935
21962
  * **Number of Errors Metric Monitor**
21936
21963
  * - `eventTypes`: Any of `error` or `default`.
@@ -21943,9 +21970,9 @@ export type CreateOrganizationProjectDetectorData = {
21943
21970
  * "eventTypes": ["default", "error"],
21944
21971
  * "query": "is:unresolved",
21945
21972
  * "queryType": 0,
21946
- * "timeWindow": 3600,
21947
- * },
21948
- * ],
21973
+ * "timeWindow": 3600
21974
+ * }
21975
+ * ]
21949
21976
  * ```
21950
21977
  *
21951
21978
  * **Users Experiencing Errors Metric Monitor**
@@ -21959,9 +21986,9 @@ export type CreateOrganizationProjectDetectorData = {
21959
21986
  * "eventTypes": ["default", "error"],
21960
21987
  * "query": "is:unresolved",
21961
21988
  * "queryType": 0,
21962
- * "timeWindow": 3600,
21963
- * },
21964
- * ],
21989
+ * "timeWindow": 3600
21990
+ * }
21991
+ * ]
21965
21992
  * ```
21966
21993
  *
21967
21994
  *
@@ -21972,13 +21999,13 @@ export type CreateOrganizationProjectDetectorData = {
21972
21999
  * "aggregate":"count(span.duration)",
21973
22000
  * "dataset":"events_analytics_platform",
21974
22001
  * "environment":"prod",
21975
- * "eventTypes":["trace_item_span"]
22002
+ * "eventTypes":["trace_item_span"],
21976
22003
  * "query":"",
21977
22004
  * "queryType":1,
21978
22005
  * "timeWindow":3600,
21979
- * "extrapolationMode":"unknown",
21980
- * },
21981
- * ],
22006
+ * "extrapolationMode":"unknown"
22007
+ * }
22008
+ * ]
21982
22009
  * ```
21983
22010
  *
21984
22011
  * **Duration Metric Monitor**
@@ -21988,13 +22015,13 @@ export type CreateOrganizationProjectDetectorData = {
21988
22015
  * "aggregate":"p95(span.duration)",
21989
22016
  * "dataset":"events_analytics_platform",
21990
22017
  * "environment":"prod",
21991
- * "eventTypes":["trace_item_span"]
22018
+ * "eventTypes":["trace_item_span"],
21992
22019
  * "query":"",
21993
22020
  * "queryType":1,
21994
22021
  * "timeWindow":3600,
21995
- * "extrapolationMode":"unknown",
21996
- * },
21997
- * ],
22022
+ * "extrapolationMode":"unknown"
22023
+ * }
22024
+ * ]
21998
22025
  * ```
21999
22026
  *
22000
22027
  * **Failure Rate Metric Monitor**
@@ -22004,17 +22031,17 @@ export type CreateOrganizationProjectDetectorData = {
22004
22031
  * "aggregate":"failure_rate()",
22005
22032
  * "dataset":"events_analytics_platform",
22006
22033
  * "environment":"prod",
22007
- * "eventTypes":["trace_item_span"]
22034
+ * "eventTypes":["trace_item_span"],
22008
22035
  * "query":"",
22009
22036
  * "queryType":1,
22010
22037
  * "timeWindow":3600,
22011
- * "extrapolationMode":"unknown",
22012
- * },
22013
- * ],
22038
+ * "extrapolationMode":"unknown"
22039
+ * }
22040
+ * ]
22014
22041
  * ```
22015
22042
  *
22016
22043
  * **Largest Contentful Paint Metric Monitor**
22017
- * - `dataset`: If a custom percentile is used, dataset is `transactions`. Otherwise, dataset is `events_analytics_platform`.
22044
+ * - `dataset`: Use `events_analytics_platform`. To query transaction spans, add `is_transaction:true` to `query`.
22018
22045
  * - `aggregate`: Valid values are `avg(measurements.lcp)`, `p50(measurements.lcp)`, `p75(measurements.lcp)`, `p95(measurements.lcp)`, `p99(measurements.lcp)`, `p100(measurements.lcp)`, and `percentile(measurements.lcp,x)`, where `x` is your custom percentile.
22019
22046
  *
22020
22047
  * ```json
@@ -22023,17 +22050,17 @@ export type CreateOrganizationProjectDetectorData = {
22023
22050
  * "aggregate":"p95(measurements.lcp)",
22024
22051
  * "dataset":"events_analytics_platform",
22025
22052
  * "environment":"prod",
22026
- * "eventTypes":["trace_item_span"]
22027
- * "query":"",
22053
+ * "eventTypes":["trace_item_span"],
22054
+ * "query":"is_transaction:true",
22028
22055
  * "queryType":1,
22029
22056
  * "timeWindow":3600,
22030
- * "extrapolationMode":"unknown",
22031
- * },
22032
- * ],
22057
+ * "extrapolationMode":"unknown"
22058
+ * }
22059
+ * ]
22033
22060
  * ```
22034
22061
  *
22035
22062
  * **Custom Metric Monitor**
22036
- * - `dataset`: If a custom percentile is used, dataset is `transactions`. Otherwise, dataset is `events_analytics_platform`.
22063
+ * - `dataset`: Use `events_analytics_platform`. To query transaction spans, add `is_transaction:true` to `query`.
22037
22064
  * - `aggregate`: Valid values are:
22038
22065
  * `avg(x)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
22039
22066
  * `p50(x)`, where `x` is `transaction.duration`, `measurements.cls`, `measurements.fcp`, `measurements.fid`, `measurements.fp`, `measurements.lcp`, `measurements.ttfb`, or `measurements.ttfb.requesttime`.
@@ -22049,11 +22076,17 @@ export type CreateOrganizationProjectDetectorData = {
22049
22076
  * ```json
22050
22077
  * [
22051
22078
  * {
22052
- * "aggregate": "p75(measurements.ttfb)"
22079
+ * "aggregate": "p75(measurements.ttfb)",
22053
22080
  * "dataset": "events_analytics_platform",
22081
+ * "environment": "prod",
22054
22082
  * "queryType": 1,
22055
- * },
22056
- * ],
22083
+ * "eventTypes": ["trace_item_span"],
22084
+ * "query": "is_transaction:true",
22085
+ * "timeWindow": 3600,
22086
+ * "extrapolationMode": "unknown"
22087
+ * }
22088
+ * ]
22089
+ * ```
22057
22090
  *
22058
22091
  */
22059
22092
  data_sources?: Array<unknown>;
@@ -22066,7 +22099,7 @@ export type CreateOrganizationProjectDetectorData = {
22066
22099
  * - `static`: Threshold based monitor
22067
22100
  * - `percent`: Change based monitor
22068
22101
  * - `dynamic`: Dynamic monitor
22069
- * - `comparisonDelta`: If selecting a **change** detection type, the comparison delta is the time period at which to compare against in minutes.
22102
+ * - `comparisonDelta`: If selecting a **change** detection type, the comparison delta is the time period, in seconds, at which to compare against historical data.
22070
22103
  * For example, a value of 3600 compares the metric tracked against data 1 hour ago.
22071
22104
  * - `300`: 5 minutes
22072
22105
  * - `900`: 15 minutes
@@ -22078,20 +22111,20 @@ export type CreateOrganizationProjectDetectorData = {
22078
22111
  * **Threshold**
22079
22112
  * ```json
22080
22113
  * {
22081
- * "detectionType": "static",
22114
+ * "detectionType": "static"
22082
22115
  * }
22083
22116
  * ```
22084
22117
  * **Change**
22085
22118
  * ```json
22086
22119
  * {
22087
22120
  * "detectionType": "percent",
22088
- * "comparisonDelta": 3600,
22121
+ * "comparisonDelta": 3600
22089
22122
  * }
22090
22123
  * ```
22091
22124
  * **Dynamic**
22092
22125
  * ```json
22093
22126
  * {
22094
- * "detectionType": "dynamic",
22127
+ * "detectionType": "dynamic"
22095
22128
  * }
22096
22129
  * ```
22097
22130
  *
@@ -27384,7 +27417,7 @@ export type CreateOrganizationWorkflowData = {
27384
27417
  *
27385
27418
  * ```json
27386
27419
  * {
27387
- * "frequency":3600
27420
+ * "frequency": 60
27388
27421
  * }
27389
27422
  * ```
27390
27423
  *
@@ -28412,7 +28445,7 @@ export type UpdateOrganizationWorkflowData = {
28412
28445
  *
28413
28446
  * ```json
28414
28447
  * {
28415
- * "frequency":3600
28448
+ * "frequency": 60
28416
28449
  * }
28417
28450
  * ```
28418
28451
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.356.0",
3
+ "version": "0.357.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",