检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
SlaReportsValue objects 错误次数 function_error_count Array of SlaReportsValue objects 函数错误次数 system_error_count Array of SlaReportsValue objects 系统错误次数
图3 查看日志 图4 查看请求id详情 可以对程序进行修改,使数据可以用于调用其他系统或进行持久化存储,如存储到obs等。 父主题: 使用FunctionGraph函数对IoTDA中的设备坐标数据进行转换
请求Body参数 参数 是否必选 参数类型 描述 action 否 String action名称 枚举值: create delete tags 否 Array of KvItem objects 标签列表 sys_tags 否 Array of KvItem objects 系统标签列表
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
on_failure FuncDestinationConfig object 当函数执行失败(系统错误或函数内部错误)时,函数计算将调用该配置对应的目标。 表5 FuncDestinationConfig 参数 参数类型 描述 destination String 目标类型。
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
on_failure FuncDestinationConfig object 当函数执行失败(系统错误或函数内部错误)时,函数计算将调用该配置对应的目标。 表7 FuncDestinationConfig 参数 参数类型 描述 destination String 目标类型。
账单上报周期 函数工作流会按天结算周期上报使用量到计费系统进行结算,具体扣费规则可以参考按需产品周期结算说明。
测试事件 自动加载系统内置dis事件模板,本例不做修改。 单击“测试”,可以得到函数运行结果,函数会返回输入DIS数据。 父主题: 配置函数的触发器
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
") sk := os.Getenv("CLOUD_SDK_SK") auth := basic.NewCredentialsBuilder().
函数调用结束后,回收的内存首先会放入内部内存池中,并不一定归还给操作系统,导致内存偏高,在高并发场景下这种现象会更加明显。 父主题: 调用函数
on_failure 否 FuncDestinationConfig object 当函数执行失败(系统错误或函数内部错误)时,函数计算将调用该配置对应的目标。
SlaReportsValue objects 被拒绝次数 function_error_count Array of SlaReportsValue objects 函数错误次数 system_error_count Array of SlaReportsValue objects 系统错误次数