PutMetricExport

Prev Next

업데이트 될 Metric Export 객체입니다.

구문

구문은 다음과 같습니다.

class PutMetricExport {
        private String name;
        private String description;
        private String interval;
        private String aggregation;
        private Set<MonitorGroupItem> targets;
        private Set<String> metrics;
        private MetricExportDestination destination;
}

필드

필드에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
name String Required Metric Export 이름
  • 최대 45자
description String Optional Metric Export 설명
  • 최대 200자
interval String Required Export 대상 메트릭의 수집 주기
  • Min1 | Min5 | Min30 | Hour2 | Day1
aggregation String Required Export 대상 메트릭의 집계 함수
  • AVG | MIN | MAX | SUM | COUNT
targets Set<MonitorGroupItem)> Optional Export 대상 리소스
  • 전체 리소스를 대상으로 할 경우, targets 필드는 불필요
  • 특정 리소스를 대상으로 할 경우, 설정이 필요하며 개별 선택은 1개로 제한
metrics Set<String> Optional Export 대상 메트릭
  • 전체 메트릭을 대상으로 할 경우, metrics 필드는 불필요
  • 특정 메트릭을 대상으로 할 경우, 설정이 필요하며 개별 선택은 20개로 제한
destination MetricExportDestination Required Export 한 결과물의 저장 위치
  • 현재 Object Storage(타입: OBS)만 지원