@sentry/api 0.213.0 → 0.214.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/sdk.gen.d.ts CHANGED
@@ -142,6 +142,11 @@ export declare const listOrganizationEvents: <ThrowOnError extends boolean = fal
142
142
  *
143
143
  * This endpoint can return timeseries for either 1 or many axis, and results grouped to the top events depending
144
144
  * on the parameters passed
145
+ *
146
+ * **Note**: For queries extending past `30d`, spanning billions of rows, or running on projects with low
147
+ * sample rates, the aggregation `yAxis=count_unique()` and filters on high-cardinality
148
+ * fields (such as `query=user.id:bc`) will not return accurate results. Use these queries for rough
149
+ * estimation only.
145
150
  */
146
151
  export declare const listOrganizationEventsTimeseries: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationEventsTimeseriesData, ThrowOnError>) => import("./client").RequestResult<ListOrganizationEventsTimeseriesResponses, ListOrganizationEventsTimeseriesErrors, ThrowOnError, "fields">;
147
152
  /**
@@ -13033,7 +13033,22 @@ export type ListOrganizationEventsTimeseriesData = {
13033
13033
  */
13034
13034
  groupBy?: Array<string>;
13035
13035
  /**
13036
- * The aggregate field to create the timeseries for, defaults to `count()` when not included
13036
+ * The aggregate field to create the timeseries for, defaults to `count()` when
13037
+ * not included.
13038
+ * - `count()` - Total count of events over the period.
13039
+ * - `avg(field)` - Average value of the field over the period.
13040
+ * - `pXX(field)` - Percentile value of the field over the period. One of: `p50`, `p75`, `p90`, `p95`, `p99`, `p100`.
13041
+ * - `sum(field)` - Sum of all values for the field over the period.
13042
+ * - `min(field)` - Lowest value observed for the field over the period.
13043
+ * - `max(field)` - Highest value observed for the field over the period.
13044
+ * - `count_unique(field)` - Count of unique values observed for the field over the period. See *Note:* regarding accuracy on sampled data.
13045
+ * - `epm` - Average number of events received per minute.
13046
+ * - `eps` - Average number of events received per second.
13047
+ * - `failure_rate()` - Percentage of events whose `status` indicates failure.
13048
+ * - `failure_count()` - Total count of events with an error `status` over period.
13049
+ * - `performance_score(field)` - Web Vitals performance score for the selected measurement.
13050
+ * - `opportunity_score(field)` - Web Vitals opportunity score for the selected measurement.
13051
+ *
13037
13052
  */
13038
13053
  yAxis?: string;
13039
13054
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.213.0",
3
+ "version": "0.214.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",