/* tslint:disable */ /* eslint-disable */ /** * 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. */ /** * * @export * @interface ClickhouseQueryPattern */ export interface ClickhouseQueryPattern { /** * normalized_query_hash as a string. * @type {string} * @memberof ClickhouseQueryPattern */ 'normalizedQueryHash'?: string; /** * One representative query text for the pattern, with string and numeric literals and comments masked as ?. * @type {string} * @memberof ClickhouseQueryPattern */ 'sampleQuery'?: string; /** * Number of executions of the pattern. * @type {number} * @memberof ClickhouseQueryPattern */ 'calls'?: number; /** * Sum of query_duration_ms across all executions. * @type {number} * @memberof ClickhouseQueryPattern */ 'totalDurationMs'?: number; /** * Average query_duration_ms. * @type {number} * @memberof ClickhouseQueryPattern */ 'meanDurationMs'?: number; /** * Maximum query_duration_ms. * @type {number} * @memberof ClickhouseQueryPattern */ 'maxDurationMs'?: number; /** * Sum of read_rows. * @type {number} * @memberof ClickhouseQueryPattern */ 'readRows'?: number; /** * Sum of memory_usage in bytes. * @type {number} * @memberof ClickhouseQueryPattern */ 'memoryUsageBytes'?: number; /** * Executions that ended with ExceptionWhileProcessing. * @type {number} * @memberof ClickhouseQueryPattern */ 'failureCount'?: number; /** * Executions whose duration is at least 1000 ms. * @type {number} * @memberof ClickhouseQueryPattern */ 'slowCallCount'?: number; /** * First event_time in RFC3339 UTC. * @type {string} * @memberof ClickhouseQueryPattern */ 'firstSeen'?: string; /** * Last event_time in RFC3339 UTC. * @type {string} * @memberof ClickhouseQueryPattern */ 'lastSeen'?: string; }