/** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ClickhouseFailedQuery } from './clickhouse-failed-query'; import type { ClickhouseQueryPattern } from './clickhouse-query-pattern'; import type { ClickhouseSQLAnalysisRange } from './clickhouse-sqlanalysis-range'; import type { ClickhouseSQLSummary } from './clickhouse-sqlsummary'; import type { ClickhouseSlowQuery } from './clickhouse-slow-query'; import type { ClickhouseSource } from './clickhouse-source'; /** * * @export * @interface ClickhouseSQLAnalysis */ export interface ClickhouseSQLAnalysis { /** * Collection time in RFC3339 UTC. * @type {string} * @memberof ClickhouseSQLAnalysis */ 'collectedAt': string; /** * available when system.query_log was collected, unavailable when query logging is disabled or the table is missing. * @type {string} * @memberof ClickhouseSQLAnalysis */ 'status': string; /** * Stable reason code when status is unavailable, for example query_log_unavailable. * @type {string} * @memberof ClickhouseSQLAnalysis */ 'unavailableReason'?: string; /** * Human-readable guidance when the analysis is unavailable. * @type {string} * @memberof ClickhouseSQLAnalysis */ 'message'?: string; /** * * @type {ClickhouseSQLAnalysisRange} * @memberof ClickhouseSQLAnalysis */ 'range'?: ClickhouseSQLAnalysisRange; /** * * @type {ClickhouseSQLSummary} * @memberof ClickhouseSQLAnalysis */ 'summary'?: ClickhouseSQLSummary; /** * Top initial queries ordered by query_duration_ms descending. Distributed child queries are excluded via is_initial_query = 1. * @type {Array} * @memberof ClickhouseSQLAnalysis */ 'slowestQueries': Array; /** * Query patterns grouped by normalized_query_hash and ordered by the requested metric. * @type {Array} * @memberof ClickhouseSQLAnalysis */ 'patterns': Array; /** * Failed queries (type = ExceptionWhileProcessing) ordered by event_time descending. * @type {Array} * @memberof ClickhouseSQLAnalysis */ 'failures': Array; /** * Per-source collection status. * @type {Array} * @memberof ClickhouseSQLAnalysis */ 'sources': Array; } //# sourceMappingURL=clickhouse-sqlanalysis.d.ts.map