/* 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. */ // May contain unused imports in some cases // @ts-ignore import type { LocalizedDescription } from './localized-description'; /** * * @export * @interface PerformanceTrendSummary */ export interface PerformanceTrendSummary { /** * * @type {string} * @memberof PerformanceTrendSummary */ 'metric': string; /** * * @type {LocalizedDescription} * @memberof PerformanceTrendSummary */ 'displayName': LocalizedDescription; /** * Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound. * @type {string} * @memberof PerformanceTrendSummary */ 'category': string; /** * Optional series dimension. Values include cluster, instance, pvc, and database. * @type {string} * @memberof PerformanceTrendSummary */ 'dimension'?: string; /** * Optional dimension labels, for example instance, pvc, role, or datname. * @type {{ [key: string]: string; }} * @memberof PerformanceTrendSummary */ 'labels'?: { [key: string]: string; }; /** * * @type {string} * @memberof PerformanceTrendSummary */ 'unit': string; /** * Optional warning threshold in the same unit as this metric. * @type {number} * @memberof PerformanceTrendSummary */ 'warnThreshold'?: number; /** * Optional critical threshold in the same unit as this metric. * @type {number} * @memberof PerformanceTrendSummary */ 'critThreshold'?: number; /** * Optional threshold direction. Values are above, below, or boolean. * @type {string} * @memberof PerformanceTrendSummary */ 'thresholdDirection'?: string; /** * * @type {number} * @memberof PerformanceTrendSummary */ 'min': number; /** * * @type {number} * @memberof PerformanceTrendSummary */ 'max': number; /** * * @type {number} * @memberof PerformanceTrendSummary */ 'avg': number; /** * * @type {number} * @memberof PerformanceTrendSummary */ 'latest': number; /** * Change direction when at least two samples exist. Values are increasing, decreasing, or stable. * @type {string} * @memberof PerformanceTrendSummary */ 'changeDirection'?: string; }