/* tslint:disable */ /* eslint-disable */ /** * Admin API * The Admin API is used to manage the ApeCloud platform. * * 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. */ // May contain unused imports in some cases // @ts-ignore import type { ClickhouseFailedQuery } from './clickhouse-failed-query'; // May contain unused imports in some cases // @ts-ignore import type { ClickhouseQueryPattern } from './clickhouse-query-pattern'; // May contain unused imports in some cases // @ts-ignore import type { ClickhouseSQLAnalysisRange } from './clickhouse-sqlanalysis-range'; // May contain unused imports in some cases // @ts-ignore import type { ClickhouseSQLSummary } from './clickhouse-sqlsummary'; // May contain unused imports in some cases // @ts-ignore import type { ClickhouseSlowQuery } from './clickhouse-slow-query'; // May contain unused imports in some cases // @ts-ignore 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; }