/** * 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 { MysqlSQLFingerprint } from './mysql-sqlfingerprint'; /** * * @export * @interface MysqlSQLAnalysis */ export interface MysqlSQLAnalysis { /** * Data source. M1 uses performance_schema.events_statements_summary_by_digest. * @type {string} * @memberof MysqlSQLAnalysis */ 'source': string; /** * Source status. Expected values are available or unavailable. * @type {string} * @memberof MysqlSQLAnalysis */ 'status': string; /** * Reason when status is unavailable, such as performance_schema_disabled, digest_consumer_disabled, permission_denied, or query_failed. * @type {string} * @memberof MysqlSQLAnalysis */ 'unavailableReason'?: string; /** * User-facing recovery guidance when SQL analysis is unavailable. * @type {string} * @memberof MysqlSQLAnalysis */ 'message'?: string; /** * Backend collection timestamp in UTC. It is not a sampling-window end time. * @type {string} * @memberof MysqlSQLAnalysis */ 'collectedAt': string; /** * Earliest FIRST_SEEN timestamp across currently visible digest rows, when available. * @type {string} * @memberof MysqlSQLAnalysis */ 'firstSeen'?: string; /** * Latest LAST_SEEN timestamp across currently visible digest rows, when available. * @type {string} * @memberof MysqlSQLAnalysis */ 'lastSeen'?: string; /** * Effective row limit after backend normalization. * @type {number} * @memberof MysqlSQLAnalysis */ 'limit': number; /** * Effective sort key. Expected values are totalTime, meanTime, maxTime, or calls. * @type {string} * @memberof MysqlSQLAnalysis */ 'orderBy': string; /** * Total execution time in milliseconds across all visible digest rows, not limited to the returned top-N items. * @type {number} * @memberof MysqlSQLAnalysis */ 'totalTimeMsAll'?: number | null; /** * Total execution count across all visible digest rows, not limited to the returned top-N items. * @type {number} * @memberof MysqlSQLAnalysis */ 'callsAll'?: number | null; /** * Number of statement digests not recorded because the digest table was full, when exposed by the server. * @type {number} * @memberof MysqlSQLAnalysis */ 'digestLost'?: number | null; /** * SQL fingerprint ranking rows from Performance Schema. The list may be empty when no statement statistics exist. * @type {Array} * @memberof MysqlSQLAnalysis */ 'items': Array; } //# sourceMappingURL=mysql-sqlanalysis.d.ts.map