/** * 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 { RedisKeyAnalysisReportParameters } from './redis-key-analysis-report-parameters'; import type { RedisKeyAnalysisReportTypeStatValue } from './redis-key-analysis-report-type-stat-value'; import type { RedisKeyEntry } from './redis-key-entry'; /** * One Redis keys analysis report row. Rows are persisted per shard. The query response appends one non-persisted aggregate row with isSummary=true. * @export * @interface RedisKeyAnalysisReport */ export interface RedisKeyAnalysisReport { /** * * @type {string} * @memberof RedisKeyAnalysisReport */ 'taskId'?: string; /** * * @type {string} * @memberof RedisKeyAnalysisReport */ 'clusterId'?: string; /** * * @type {string} * @memberof RedisKeyAnalysisReport */ 'shardName'?: string; /** * True for the aggregate row that is not persisted. * @type {boolean} * @memberof RedisKeyAnalysisReport */ 'isSummary'?: boolean; /** * * @type {string} * @memberof RedisKeyAnalysisReport */ 'createTime'?: string; /** * * @type {RedisKeyAnalysisReportParameters} * @memberof RedisKeyAnalysisReport */ 'parameters'?: RedisKeyAnalysisReportParameters; /** * Key statistics by Redis data type: {type: {count, bytes}}. * @type {{ [key: string]: RedisKeyAnalysisReportTypeStatValue; }} * @memberof RedisKeyAnalysisReport */ 'typeStat'?: { [key: string]: RedisKeyAnalysisReportTypeStatValue; }; /** * Key statistics by memory size bucket: {bucket: {count, bytes}}. * @type {{ [key: string]: RedisKeyAnalysisReportTypeStatValue; }} * @memberof RedisKeyAnalysisReport */ 'byteLevelStat'?: { [key: string]: RedisKeyAnalysisReportTypeStatValue; }; /** * Sum of counts across all byteLevelStat buckets. * @type {number} * @memberof RedisKeyAnalysisReport */ 'totalNumKeys'?: number; /** * Sum of bytes across all byteLevelStat buckets. * @type {number} * @memberof RedisKeyAnalysisReport */ 'totalSizeKeys'?: number; /** * Key statistics by remaining TTL bucket: {bucket: {count, bytes}}. * @type {{ [key: string]: RedisKeyAnalysisReportTypeStatValue; }} * @memberof RedisKeyAnalysisReport */ 'expireStat'?: { [key: string]: RedisKeyAnalysisReportTypeStatValue; }; /** * * @type {Array} * @memberof RedisKeyAnalysisReport */ 'topBigKeyByteStat'?: Array; /** * * @type {Array} * @memberof RedisKeyAnalysisReport */ 'topBigKeyElemStat'?: Array; /** * Top cluster slots by memory usage: [{slot: bytes}]. Only populated for Redis Cluster mode. * @type {Array<{ [key: string]: number; }>} * @memberof RedisKeyAnalysisReport */ 'topSlotKeyByteStat'?: Array<{ [key: string]: number; }>; /** * Top cluster slots by key count: [{slot: count}]. Only populated for Redis Cluster mode. * @type {Array<{ [key: string]: number; }>} * @memberof RedisKeyAnalysisReport */ 'topSlotKeyCountStat'?: Array<{ [key: string]: number; }>; } //# sourceMappingURL=redis-key-analysis-report.d.ts.map