diff --git a/OMICRON_VERSION b/OMICRON_VERSION index 8b5fc70cc..f58d526fb 100644 --- a/OMICRON_VERSION +++ b/OMICRON_VERSION @@ -1 +1 @@ -529ba64ee2811a0be0a25fdb7141e88d8fcdef6f +b751cada653d817ba8274135d10e481369d6911c diff --git a/app/api/__generated__/Api.ts b/app/api/__generated__/Api.ts index 5b1531821..31a028555 100644 --- a/app/api/__generated__/Api.ts +++ b/app/api/__generated__/Api.ts @@ -2657,26 +2657,6 @@ export type InternetGatewayResultsPage = { nextPage?: string | null } -/** - * A count of bytes / rows accessed during a query. - */ -export type IoCount = { - /** The number of bytes accessed. */ - bytes: number - /** The number of rows accessed. */ - rows: number -} - -/** - * Summary of the I/O resources used by a query. - */ -export type IoSummary = { - /** The bytes and rows read by the query. */ - read: IoCount - /** The bytes and rows written by the query. */ - written: IoCount -} - /** * The IP address version. */ @@ -3078,20 +3058,6 @@ export type NetworkInterface = { vni: Vni } -/** - * Basic metadata about the resource usage of a single ClickHouse SQL query. - */ -export type OxqlQuerySummary = { - /** The total duration of the ClickHouse query (network plus execution). */ - elapsedMs: number - /** The database-assigned query ID. */ - id: string - /** Summary of the data read and written. */ - ioSummary: IoSummary - /** The raw ClickHouse SQL query. */ - query: string -} - /** * List of data values for one timeseries. * @@ -3143,8 +3109,6 @@ export type OxqlTable = { * The result of a successful OxQL query. */ export type OxqlQueryResult = { - /** Summaries of queries run against ClickHouse. */ - querySummaries?: OxqlQuerySummary[] | null /** Tables resulting from the query, each containing timeseries. */ tables: OxqlTable[] } @@ -4430,8 +4394,6 @@ export type TimeseriesName = string * A timeseries query string, written in the Oximeter query language. */ export type TimeseriesQuery = { - /** Whether to include ClickHouse query summaries in the response. */ - includeSummaries?: boolean /** A timeseries query string, written in the Oximeter query language. */ query: string } diff --git a/app/api/__generated__/OMICRON_VERSION b/app/api/__generated__/OMICRON_VERSION index a98ced52d..d1e6d439f 100644 --- a/app/api/__generated__/OMICRON_VERSION +++ b/app/api/__generated__/OMICRON_VERSION @@ -1,2 +1,2 @@ # generated file. do not update manually. see docs/update-pinned-api.md -529ba64ee2811a0be0a25fdb7141e88d8fcdef6f +b751cada653d817ba8274135d10e481369d6911c diff --git a/app/api/__generated__/validate.ts b/app/api/__generated__/validate.ts index fc9158476..d5a76bcd2 100644 --- a/app/api/__generated__/validate.ts +++ b/app/api/__generated__/validate.ts @@ -2445,22 +2445,6 @@ export const InternetGatewayResultsPage = z.preprocess( z.object({ items: InternetGateway.array(), nextPage: z.string().nullable().optional() }) ) -/** - * A count of bytes / rows accessed during a query. - */ -export const IoCount = z.preprocess( - processResponseBody, - z.object({ bytes: z.number().min(0), rows: z.number().min(0) }) -) - -/** - * Summary of the I/O resources used by a query. - */ -export const IoSummary = z.preprocess( - processResponseBody, - z.object({ read: IoCount, written: IoCount }) -) - /** * The IP address version. */ @@ -2828,19 +2812,6 @@ export const NetworkInterface = z.preprocess( }) ) -/** - * Basic metadata about the resource usage of a single ClickHouse SQL query. - */ -export const OxqlQuerySummary = z.preprocess( - processResponseBody, - z.object({ - elapsedMs: z.number().min(0), - id: z.uuid(), - ioSummary: IoSummary, - query: z.string(), - }) -) - /** * List of data values for one timeseries. * @@ -2909,10 +2880,7 @@ export const OxqlTable = z.preprocess( */ export const OxqlQueryResult = z.preprocess( processResponseBody, - z.object({ - querySummaries: OxqlQuerySummary.array().optional(), - tables: OxqlTable.array(), - }) + z.object({ tables: OxqlTable.array() }) ) /** @@ -4031,7 +3999,7 @@ export const TimeseriesName = z.preprocess( */ export const TimeseriesQuery = z.preprocess( processResponseBody, - z.object({ includeSummaries: SafeBoolean.default(false).optional(), query: z.string() }) + z.object({ query: z.string() }) ) /**