正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
接入API数据源 DataArts Insight支持接入API数据源,满足您对数据实时性、可扩展性的需求。 本节操作介绍在DataArts Insight创建API数据源的操作及指导。 前提条件 已获取API的访问权限。 操作步骤 登录智能数据洞察控制台。 单击管理控制台左上角的,选择区域。
下三种类型: 原子指标:即最小粒度的指标,可用于量化统计事务属性,如总金额等。 衍生指标:基于单个基础指标创建而来,常用于指标在时间维度上扩展,如销售额的月环比、累计值,用于实现更复杂的数据分析。 复合指标:组合一个或多个基础指标计算而来,例如通过总金额除以商品销售数量来计算平均单价,可用于实现相对复杂的数据分析。
状态码 表1 正常返回值 正常返回码 类型 说明 200 OK GET、PUT、POST操作正常返回 201 Created POST操作正常返回 204 No Content DELETE操作正常返回 表2 异常返回值 返回值 说明 400 Bad Request 服务器未能处理请求。
expansion_type Integer 扩展字段类型:0-普通扩展字段;1-聚合扩展字段。 最小值:0 最大值:1 id String ID 最小长度:0 最大长度:128 is_expansion Integer 是否为扩展字段:0-不是;1-是。 枚举值: 0 1 level_type
expansion_type Integer 扩展字段类型:0-普通扩展字段;1-聚合扩展字段。 最小值:0 最大值:1 id String ID 最小长度:0 最大长度:128 is_expansion Integer 是否为扩展字段:0-不是、1-是。 枚举值: 0 1 level_type
行级权限 DataArts Insight数据集提供的行级授权支持对字段值设置查看范围,缩小字段值的可见范围,对字段值进行授权。当需要限制某些字段的查看范围时,您可以设置行级权限,缩小字段值的可见范围。行级授权模式包含条件组合授权和标签授权两种方式。 条件组合授权 用户标签授权 父主题:
响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 data Boolean 是否成功。 true、false。 请求示例 PUT https://{endpoint}/v1/{project_id}/quota-users 响应示例 无 状态码 状态码 描述 200
通行证管理 获取用户列表(包含已分配、未激活、IAM全用户列表) 更新用户通行证状态 增加配额关联用户,用于联邦登录等场景 获取已分配通行证的用户列表(不包含未激活) 删除用户分配信息
sort_key=accountName&sort_dir=asc&limit=10&offset=0&account_name=&sys_role=1 响应示例 无 状态码 状态码 描述 200 获取通行证列表成功。 错误码 请参见错误码。 父主题: 通行证管理
平行坐标系 DataArts Insight支持设置平行坐标系,本文介绍如何创建平行坐标系。 约束限制 维度轴由数据的维度决定,至少选择1个维度。例如日期、省份或产品类型。 度量轴由数据的度量决定,至少选择2个度量。例如订单数量。 查询返回数限制设置小于等于14时,图表显示标签值,大于14图表不显示标签值。
DELETE https://{endpoint}/v1/{project_id}/quota-users/{user_id} 响应示例 无 状态码 状态码 描述 200 删除用户成功。 错误码 请参见错误码。 父主题: 通行证管理
用户标签授权 用户标签授权适用于用户/用户组数量较多的情况下,通过用户标签授权实现对同一标签用户的统一授权。通过标签授权的方式降低了多用户情况下授权的复杂度,更加高效便捷的完成数据字段授权管理。 操作流程 设置用户/用户组标签并赋值。 为用户/用户组添加标签,用于在设置行级权限时,使用用户标签授权。
条件组合授权 条件组合授权模式适用于组织成员较少的场景,本文为您介绍如何进行条件组合授权。 前提条件 已创建数据集,请参见可视化新建数据集。 条件组合授权 登录智能数据洞察控制台。 单击管理控制台左上角的,选择区域。 单击左下角的企业项目选择企业项目。 在控制台项目列选择对应的项目,单击进入项目。
12个字符。 描述 对指标介绍说明。 指标类型 原子指标:定量衡量产品或业务的表现,例如销售额。 衍生指标:基于单个指标扩展而来,常用于指标在时间维度上的扩展,如销售额的月环比。 复合指标:基于多个指标,通过输入表达式定义,例如利润=销售额-成本。 数据集 创建指标时关联的数据集。
ClickHouse是一款开源的面向联机分析处理的列式数据库。 GaussDB(DWS) 数据仓库服务是一种基于华为云基础架构和平台的在线数据处理数据库,提供即开即用、可扩展且完全托管的分析型数据库服务。 API数据 通过API的方式连接数据源。 图4 新建DWS数据源 表2 配置项参数说明 参数 描述 名称 数据源配置列表的显示名称。
使用智能分析助手进行智能数据分析 应用场景 DataArts Insight提供的基于盘古大模型的对话式数据智能分析,通过自然语言与数据交互,进行数据分析、进而获取智能见解、构建仪表板等,智能分析助手简化了数据分析的处理难度,提升了自助图表分析的效率。 本文档以某类商品的销售数据
响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 data Boolean 是否成功。 true、false。 请求示例 POST https://{endpoint}/v1/{project_id}/quota-users 响应示例 无 状态码 状态码 描述 200
ClickHouse是一款开源的面向联机分析处理的列式数据库。 GaussDB(DWS) 数据仓库服务是一种基于华为云服务基础架构和平台的在线数据处理数据库,提供即开即用、可扩展且完全托管的分析型数据库服务。 API数据 通过API的方式连接数据源。 图4 数据源参数 表2 参数说明 参数名称 是否必填 说明 源库类型
{project_id}/quota-users/all?account_name=&sys_role_list= 响应示例 无 状态码 状态码 描述 200 获取全量用户列表成功。 错误码 请参见错误码。 父主题: 通行证管理
ClickHouse是一款开源的面向联机分析处理的列式数据库。 GaussDB(DWS) 数据仓库服务是一种基于华为云基础架构和平台的在线数据处理数据库,提供即开即用、可扩展且完全托管的分析型数据库服务。 API数据 通过API的方式连接数据源。 图5 数据源参数 表2 参数说明 参数名称 是否必填 说明 源库类型