/* tslint:disable */
/* eslint-disable */
/**
 * Admin API
 * The Admin API is used to manage the ApeCloud platform. 
 *
 * 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 { ClusterSlowLogDatabaseDistribution } from './cluster-slow-log-database-distribution';

/**
 * Summary statistics for slow logs
 * @export
 * @interface ClusterSlowLogStats
 */
export interface ClusterSlowLogStats {
    /**
     * 
     * @type {number}
     * @memberof ClusterSlowLogStats
     */
    'totalSlowLogs'?: number;
    /**
     * 
     * @type {number}
     * @memberof ClusterSlowLogStats
     */
    'avgExecutionTime'?: number;
    /**
     * 
     * @type {number}
     * @memberof ClusterSlowLogStats
     */
    'p95Latency'?: number;
    /**
     * 
     * @type {number}
     * @memberof ClusterSlowLogStats
     */
    'activeDBs'?: number | null;
    /**
     * Slow log count distribution grouped by database. Null means the engine does not expose a stable database field.
     * @type {Array<ClusterSlowLogDatabaseDistribution>}
     * @memberof ClusterSlowLogStats
     */
    'databaseDistribution'?: Array<ClusterSlowLogDatabaseDistribution> | null;
}

