@sentry/api 0.144.0 → 0.146.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/types.gen.d.ts +20 -6
- package/dist/zod.gen.d.ts +10 -10
- package/dist/zod.js +2 -4
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -13073,9 +13073,16 @@ export type QueryExploreEventsInTableFormatData = {
|
|
|
13073
13073
|
*/
|
|
13074
13074
|
field: Array<string>;
|
|
13075
13075
|
/**
|
|
13076
|
-
* Which dataset to query
|
|
13076
|
+
* Which dataset to query. The chosen dataset determines which fields are queryable.
|
|
13077
|
+
* - `errors` - Error events.
|
|
13078
|
+
* - `logs` - Structured log events.
|
|
13079
|
+
* - `profile_functions` - Function-level Profiling data.
|
|
13080
|
+
* - `spans` - Distributed tracing span events.
|
|
13081
|
+
* - `tracemetrics` - Application Metrics.
|
|
13082
|
+
* - `uptime_results` - Uptime monitoring check results.
|
|
13083
|
+
*
|
|
13077
13084
|
*/
|
|
13078
|
-
dataset: '
|
|
13085
|
+
dataset: 'errors' | 'logs' | 'profile_functions' | 'spans' | 'tracemetrics' | 'uptime_results';
|
|
13079
13086
|
/**
|
|
13080
13087
|
* The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
|
|
13081
13088
|
*/
|
|
@@ -13135,9 +13142,9 @@ export type QueryExploreEventsInTableFormatErrors = {
|
|
|
13135
13142
|
*/
|
|
13136
13143
|
400: unknown;
|
|
13137
13144
|
/**
|
|
13138
|
-
*
|
|
13145
|
+
* Forbidden
|
|
13139
13146
|
*/
|
|
13140
|
-
|
|
13147
|
+
403: unknown;
|
|
13141
13148
|
};
|
|
13142
13149
|
export type QueryExploreEventsInTableFormatResponses = {
|
|
13143
13150
|
200: {
|
|
@@ -13165,9 +13172,16 @@ export type QueryExploreEventsInTimeseriesFormatData = {
|
|
|
13165
13172
|
};
|
|
13166
13173
|
query: {
|
|
13167
13174
|
/**
|
|
13168
|
-
* Which dataset to query
|
|
13175
|
+
* Which dataset to query. The chosen dataset determines which fields are queryable.
|
|
13176
|
+
* - `errors` - Error events.
|
|
13177
|
+
* - `logs` - Structured log events.
|
|
13178
|
+
* - `profile_functions` - Function-level Profiling data.
|
|
13179
|
+
* - `spans` - Distributed tracing span events.
|
|
13180
|
+
* - `tracemetrics` - Application Metrics.
|
|
13181
|
+
* - `uptime_results` - Uptime monitoring check results.
|
|
13182
|
+
*
|
|
13169
13183
|
*/
|
|
13170
|
-
dataset: '
|
|
13184
|
+
dataset: 'errors' | 'logs' | 'profile_functions' | 'spans' | 'tracemetrics' | 'uptime_results';
|
|
13171
13185
|
/**
|
|
13172
13186
|
* The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
|
|
13173
13187
|
*/
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -30402,7 +30402,7 @@ export declare const zQueryExploreEventsInTableFormatData: z.ZodObject<{
|
|
|
30402
30402
|
}>;
|
|
30403
30403
|
query: z.ZodObject<{
|
|
30404
30404
|
field: z.ZodArray<z.ZodString, "many">;
|
|
30405
|
-
dataset: z.ZodEnum<["
|
|
30405
|
+
dataset: z.ZodEnum<["errors", "logs", "profile_functions", "spans", "tracemetrics", "uptime_results"]>;
|
|
30406
30406
|
end: z.ZodOptional<z.ZodString>;
|
|
30407
30407
|
environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30408
30408
|
project: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -30414,7 +30414,7 @@ export declare const zQueryExploreEventsInTableFormatData: z.ZodObject<{
|
|
|
30414
30414
|
cursor: z.ZodOptional<z.ZodString>;
|
|
30415
30415
|
}, "strip", z.ZodTypeAny, {
|
|
30416
30416
|
field: string[];
|
|
30417
|
-
dataset: "
|
|
30417
|
+
dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
|
|
30418
30418
|
query?: string | undefined;
|
|
30419
30419
|
sort?: string | undefined;
|
|
30420
30420
|
environment?: string[] | undefined;
|
|
@@ -30426,7 +30426,7 @@ export declare const zQueryExploreEventsInTableFormatData: z.ZodObject<{
|
|
|
30426
30426
|
statsPeriod?: string | undefined;
|
|
30427
30427
|
}, {
|
|
30428
30428
|
field: string[];
|
|
30429
|
-
dataset: "
|
|
30429
|
+
dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
|
|
30430
30430
|
query?: string | undefined;
|
|
30431
30431
|
sort?: string | undefined;
|
|
30432
30432
|
environment?: string[] | undefined;
|
|
@@ -30440,7 +30440,7 @@ export declare const zQueryExploreEventsInTableFormatData: z.ZodObject<{
|
|
|
30440
30440
|
}, "strip", z.ZodTypeAny, {
|
|
30441
30441
|
query: {
|
|
30442
30442
|
field: string[];
|
|
30443
|
-
dataset: "
|
|
30443
|
+
dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
|
|
30444
30444
|
query?: string | undefined;
|
|
30445
30445
|
sort?: string | undefined;
|
|
30446
30446
|
environment?: string[] | undefined;
|
|
@@ -30458,7 +30458,7 @@ export declare const zQueryExploreEventsInTableFormatData: z.ZodObject<{
|
|
|
30458
30458
|
}, {
|
|
30459
30459
|
query: {
|
|
30460
30460
|
field: string[];
|
|
30461
|
-
dataset: "
|
|
30461
|
+
dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
|
|
30462
30462
|
query?: string | undefined;
|
|
30463
30463
|
sort?: string | undefined;
|
|
30464
30464
|
environment?: string[] | undefined;
|
|
@@ -30519,7 +30519,7 @@ export declare const zQueryExploreEventsInTimeseriesFormatData: z.ZodObject<{
|
|
|
30519
30519
|
organization_id_or_slug: string;
|
|
30520
30520
|
}>;
|
|
30521
30521
|
query: z.ZodObject<{
|
|
30522
|
-
dataset: z.ZodEnum<["
|
|
30522
|
+
dataset: z.ZodEnum<["errors", "logs", "profile_functions", "spans", "tracemetrics", "uptime_results"]>;
|
|
30523
30523
|
end: z.ZodOptional<z.ZodString>;
|
|
30524
30524
|
environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30525
30525
|
project: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -30536,7 +30536,7 @@ export declare const zQueryExploreEventsInTimeseriesFormatData: z.ZodObject<{
|
|
|
30536
30536
|
preventMetricAggregates: z.ZodOptional<z.ZodEnum<["0", "1"]>>;
|
|
30537
30537
|
excludeOther: z.ZodOptional<z.ZodEnum<["0", "1"]>>;
|
|
30538
30538
|
}, "strip", z.ZodTypeAny, {
|
|
30539
|
-
dataset: "
|
|
30539
|
+
dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
|
|
30540
30540
|
query?: string | undefined;
|
|
30541
30541
|
sort?: string | undefined;
|
|
30542
30542
|
interval?: number | undefined;
|
|
@@ -30553,7 +30553,7 @@ export declare const zQueryExploreEventsInTimeseriesFormatData: z.ZodObject<{
|
|
|
30553
30553
|
preventMetricAggregates?: "1" | "0" | undefined;
|
|
30554
30554
|
excludeOther?: "1" | "0" | undefined;
|
|
30555
30555
|
}, {
|
|
30556
|
-
dataset: "
|
|
30556
|
+
dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
|
|
30557
30557
|
query?: string | undefined;
|
|
30558
30558
|
sort?: string | undefined;
|
|
30559
30559
|
interval?: number | undefined;
|
|
@@ -30572,7 +30572,7 @@ export declare const zQueryExploreEventsInTimeseriesFormatData: z.ZodObject<{
|
|
|
30572
30572
|
}>;
|
|
30573
30573
|
}, "strip", z.ZodTypeAny, {
|
|
30574
30574
|
query: {
|
|
30575
|
-
dataset: "
|
|
30575
|
+
dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
|
|
30576
30576
|
query?: string | undefined;
|
|
30577
30577
|
sort?: string | undefined;
|
|
30578
30578
|
interval?: number | undefined;
|
|
@@ -30595,7 +30595,7 @@ export declare const zQueryExploreEventsInTimeseriesFormatData: z.ZodObject<{
|
|
|
30595
30595
|
body?: undefined;
|
|
30596
30596
|
}, {
|
|
30597
30597
|
query: {
|
|
30598
|
-
dataset: "
|
|
30598
|
+
dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
|
|
30599
30599
|
query?: string | undefined;
|
|
30600
30600
|
sort?: string | undefined;
|
|
30601
30601
|
interval?: number | undefined;
|
package/dist/zod.js
CHANGED
|
@@ -11632,12 +11632,11 @@ var zQueryExploreEventsInTableFormatData = z.object({
|
|
|
11632
11632
|
query: z.object({
|
|
11633
11633
|
field: z.array(z.string()),
|
|
11634
11634
|
dataset: z.enum([
|
|
11635
|
-
"discover",
|
|
11636
11635
|
"errors",
|
|
11637
11636
|
"logs",
|
|
11638
11637
|
"profile_functions",
|
|
11639
11638
|
"spans",
|
|
11640
|
-
"
|
|
11639
|
+
"tracemetrics",
|
|
11641
11640
|
"uptime_results"
|
|
11642
11641
|
]),
|
|
11643
11642
|
end: z.string().datetime().optional(),
|
|
@@ -11667,12 +11666,11 @@ var zQueryExploreEventsInTimeseriesFormatData = z.object({
|
|
|
11667
11666
|
}),
|
|
11668
11667
|
query: z.object({
|
|
11669
11668
|
dataset: z.enum([
|
|
11670
|
-
"discover",
|
|
11671
11669
|
"errors",
|
|
11672
11670
|
"logs",
|
|
11673
11671
|
"profile_functions",
|
|
11674
11672
|
"spans",
|
|
11675
|
-
"
|
|
11673
|
+
"tracemetrics",
|
|
11676
11674
|
"uptime_results"
|
|
11677
11675
|
]),
|
|
11678
11676
|
end: z.string().datetime().optional(),
|