package com.microservices.mon.k8s.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@Data
@ApiModel("K8S容器运行状态监控总览")
public class K8sPodContainerMetricOverview {
    @ApiModelProperty(value = "容器名称")
    private String podName;

    @ApiModelProperty(value = "CPU使用率（单位：%）")
    private List<MetricCommonData> cpuUsage;

    @ApiModelProperty(value = "内存使用情况（单位：byte，需前端换算）")
    private List<MetricCommonData> memoryUsage;

    @ApiModelProperty(value = "磁盘写入情况（单位：byte/s，需前端换算）")
    private List<MetricCommonData> diskWrites;

    @ApiModelProperty(value = "磁盘读取情况（单位：byte/s，需前端换算）")
    private List<MetricCommonData> diskReads;

    @ApiModelProperty(value = "网络接收情况（单位：byte/s，需前端换算）")
    private List<MetricCommonData> networkReception;

    @ApiModelProperty(value = "网络发送情况（单位：byte/s，需前端换算）")
    private List<MetricCommonData> networkTransmission;
}
