/* 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'; // May contain unused imports in some cases // @ts-ignore import type { PerformanceTrendPoint } from './performance-trend-point'; /** * * @export * @interface PerformanceTrendSeries */ export interface PerformanceTrendSeries { /** * * @type {string} * @memberof PerformanceTrendSeries */ 'metric': string; /** * * @type {LocalizedDescription} * @memberof PerformanceTrendSeries */ 'displayName': LocalizedDescription; /** * Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound. * @type {string} * @memberof PerformanceTrendSeries */ 'category': string; /** * Optional series dimension. Values include cluster, instance, pvc, and database. * @type {string} * @memberof PerformanceTrendSeries */ 'dimension'?: string; /** * Optional dimension labels, for example instance, pvc, role, or datname. * @type {{ [key: string]: string; }} * @memberof PerformanceTrendSeries */ 'labels'?: { [key: string]: string; }; /** * * @type {string} * @memberof PerformanceTrendSeries */ 'unit': string; /** * Optional warning threshold in the same unit as this metric. * @type {number} * @memberof PerformanceTrendSeries */ 'warnThreshold'?: number; /** * Optional critical threshold in the same unit as this metric. * @type {number} * @memberof PerformanceTrendSeries */ 'critThreshold'?: number; /** * Optional threshold direction. Values are above, below, or boolean. * @type {string} * @memberof PerformanceTrendSeries */ 'thresholdDirection'?: string; /** * * @type {Array} * @memberof PerformanceTrendSeries */ 'points': Array; }