Class DescribeCurveDataRequest

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getEndTime()
      Get 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)..
      String getEnvId()
      Get 环境ID
      String getMetricName()
      Get 指标名: StorageRead: 存储读请求次数 StorageWrite: 存储写请求次数 StorageCdnOriginFlux: CDN回源流量, 单位字节 CDNFlux: CDN回源流量, 单位字节 FunctionInvocation: 云函数调用次数 FunctionGBs: 云函数资源使用量, 单位Mb*Ms FunctionFlux: 云函数流量, 单位千字节(KB) FunctionError: 云函数调用错误次数 FunctionDuration: 云函数运行时间, 单位毫秒 DbRead: 数据库读请求数 DbWrite: 数据库写请求数 DbCostTime10ms: 数据库耗时在10ms~50ms请求数 DbCostTime50ms: 数据库耗时在50ms~100ms请求数 DbCostTime100ms: 数据库耗时在100ms以上请求数 TkeCpuRatio: 容器CPU占用率 TkeMemRatio: 容器内存占用率 TkeCpuUsed: 容器CPU使用量 TkeMemUsed: 容器内存使用量 TkeInvokeNum: 调用量 FunctionConcurrentExecutions: 云函数并发执行个数 FunctionIdleProvisioned: 云函数预置并发闲置量 FunctionConcurrencyMemoryMB: 云函数并发执行内存量 FunctionThrottle: 云函数受限次数 FunctionProvisionedConcurrency: 云函数预置并发
      String getResourceID()
      Get 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称
      String getStartTime()
      Get 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟).
      void setEndTime​(String EndTime)
      Set 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)..
      void setEnvId​(String EnvId)
      Set 环境ID
      void setMetricName​(String MetricName)
      Set 指标名: StorageRead: 存储读请求次数 StorageWrite: 存储写请求次数 StorageCdnOriginFlux: CDN回源流量, 单位字节 CDNFlux: CDN回源流量, 单位字节 FunctionInvocation: 云函数调用次数 FunctionGBs: 云函数资源使用量, 单位Mb*Ms FunctionFlux: 云函数流量, 单位千字节(KB) FunctionError: 云函数调用错误次数 FunctionDuration: 云函数运行时间, 单位毫秒 DbRead: 数据库读请求数 DbWrite: 数据库写请求数 DbCostTime10ms: 数据库耗时在10ms~50ms请求数 DbCostTime50ms: 数据库耗时在50ms~100ms请求数 DbCostTime100ms: 数据库耗时在100ms以上请求数 TkeCpuRatio: 容器CPU占用率 TkeMemRatio: 容器内存占用率 TkeCpuUsed: 容器CPU使用量 TkeMemUsed: 容器内存使用量 TkeInvokeNum: 调用量 FunctionConcurrentExecutions: 云函数并发执行个数 FunctionIdleProvisioned: 云函数预置并发闲置量 FunctionConcurrencyMemoryMB: 云函数并发执行内存量 FunctionThrottle: 云函数受限次数 FunctionProvisionedConcurrency: 云函数预置并发
      void setResourceID​(String ResourceID)
      Set 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称
      void setStartTime​(String StartTime)
      Set 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟).
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • Constructor Detail

      • DescribeCurveDataRequest

        public DescribeCurveDataRequest()
      • DescribeCurveDataRequest

        public DescribeCurveDataRequest​(DescribeCurveDataRequest source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getEnvId

        public String getEnvId()
        Get 环境ID
        Returns:
        EnvId 环境ID
      • setEnvId

        public void setEnvId​(String EnvId)
        Set 环境ID
        Parameters:
        EnvId - 环境ID
      • getMetricName

        public String getMetricName()
        Get
      • 指标名:
      • StorageRead: 存储读请求次数
      • StorageWrite: 存储写请求次数
      • StorageCdnOriginFlux: CDN回源流量, 单位字节
      • CDNFlux: CDN回源流量, 单位字节
      • FunctionInvocation: 云函数调用次数
      • FunctionGBs: 云函数资源使用量, 单位Mb*Ms
      • FunctionFlux: 云函数流量, 单位千字节(KB)
      • FunctionError: 云函数调用错误次数
      • FunctionDuration: 云函数运行时间, 单位毫秒
      • DbRead: 数据库读请求数
      • DbWrite: 数据库写请求数
      • DbCostTime10ms: 数据库耗时在10ms~50ms请求数
      • DbCostTime50ms: 数据库耗时在50ms~100ms请求数
      • DbCostTime100ms: 数据库耗时在100ms以上请求数
      • TkeCpuRatio: 容器CPU占用率
      • TkeMemRatio: 容器内存占用率
      • TkeCpuUsed: 容器CPU使用量
      • TkeMemUsed: 容器内存使用量
      • TkeInvokeNum: 调用量
      • FunctionConcurrentExecutions: 云函数并发执行个数
      • FunctionIdleProvisioned: 云函数预置并发闲置量
      • FunctionConcurrencyMemoryMB: 云函数并发执行内存量
      • FunctionThrottle: 云函数受限次数
      • FunctionProvisionedConcurrency: 云函数预置并发
Returns:
MetricName
  • 指标名:
  • StorageRead: 存储读请求次数
  • StorageWrite: 存储写请求次数
  • StorageCdnOriginFlux: CDN回源流量, 单位字节
  • CDNFlux: CDN回源流量, 单位字节
  • FunctionInvocation: 云函数调用次数
  • FunctionGBs: 云函数资源使用量, 单位Mb*Ms
  • FunctionFlux: 云函数流量, 单位千字节(KB)
  • FunctionError: 云函数调用错误次数
  • FunctionDuration: 云函数运行时间, 单位毫秒
  • DbRead: 数据库读请求数
  • DbWrite: 数据库写请求数
  • DbCostTime10ms: 数据库耗时在10ms~50ms请求数
  • DbCostTime50ms: 数据库耗时在50ms~100ms请求数
  • DbCostTime100ms: 数据库耗时在100ms以上请求数
  • TkeCpuRatio: 容器CPU占用率
  • TkeMemRatio: 容器内存占用率
  • TkeCpuUsed: 容器CPU使用量
  • TkeMemUsed: 容器内存使用量
  • TkeInvokeNum: 调用量
  • FunctionConcurrentExecutions: 云函数并发执行个数
  • FunctionIdleProvisioned: 云函数预置并发闲置量
  • FunctionConcurrencyMemoryMB: 云函数并发执行内存量
  • FunctionThrottle: 云函数受限次数
  • FunctionProvisionedConcurrency: 云函数预置并发
  • Parameters:
    MetricName -
  • 指标名:
  • StorageRead: 存储读请求次数
  • StorageWrite: 存储写请求次数
  • StorageCdnOriginFlux: CDN回源流量, 单位字节
  • CDNFlux: CDN回源流量, 单位字节
  • FunctionInvocation: 云函数调用次数
  • FunctionGBs: 云函数资源使用量, 单位Mb*Ms
  • FunctionFlux: 云函数流量, 单位千字节(KB)
  • FunctionError: 云函数调用错误次数
  • FunctionDuration: 云函数运行时间, 单位毫秒
  • DbRead: 数据库读请求数
  • DbWrite: 数据库写请求数
  • DbCostTime10ms: 数据库耗时在10ms~50ms请求数
  • DbCostTime50ms: 数据库耗时在50ms~100ms请求数
  • DbCostTime100ms: 数据库耗时在100ms以上请求数
  • TkeCpuRatio: 容器CPU占用率
  • TkeMemRatio: 容器内存占用率
  • TkeCpuUsed: 容器CPU使用量
  • TkeMemUsed: 容器内存使用量
  • TkeInvokeNum: 调用量
  • FunctionConcurrentExecutions: 云函数并发执行个数
  • FunctionIdleProvisioned: 云函数预置并发闲置量
  • FunctionConcurrencyMemoryMB: 云函数并发执行内存量
  • FunctionThrottle: 云函数受限次数
  • FunctionProvisionedConcurrency: 云函数预置并发