- 发行说明
- 入门指南
- 访问和权限
- 与 Insights 交互
- Automation Hub 集成。
- 许可证监控集成
- 历史数据导出
- 通过部署 SSIS 包导出数据
- 日志
- 性能和可扩展性
- 实时数据导出
- 许可
- 故障排除

Insights
在本主题中,您可以了解如何通过部署 SQL Server Integration Services (SSIS) 包来导出保留 Insights 数据模型结构的数据。 除非计划更频繁地运行,否则这是一次性导出到可用作报告工具数据源的平面文件。 将为每个表(作业、队列等)每月生成一个文件。
Integration Services (SSIS) must be installed on your SQL Server (check Install Integration Services (SSIS)).
以下指标是聚合的,无法在运行时导出,但可以根据导出中的其他数据进行计算。 请使用目标工具中的查询/聚合功能,显示在 Insights 中找到的这些指标。
|
指标 |
查询/聚合函数 |
描述 |
|---|---|---|
|
流程运行次数 |
|
已执行的流程数。 |
|
成功的作业 |
|
已成功执行的作业数。 |
|
出现故障的作业 |
|
使用错误作业执行的流程。 |
|
成功率 |
1.0 * ${sum ( job_state = "successful")} / NULLIF($sum ( job id),0) |
成功执行的作业的百分比。 |
|
错误率 |
1.0 * ${sum ( job_state = "faulted")} / NULLIF($sum ( job id),0) |
故障作业占所有作业的百分比。 |
|
运行总时间 (秒) |
|
所有作业的总处理时间(以秒为单位)。 |
|
挂起总时长 (以秒为单位) |
|
The time of jobs, in seconds, spent in a suspended state (check Job States). You can use this measure to calculate the total time spent on a particular process by subtracting the time spent in a suspended state, in long-running workflows. |
|
待定时间(秒) |
|
The amount of time all jobs spent in the Pending and Resumed states, meaning how long it took from the moment the job was queued until it ran on the robot (check Job States). |
|
队列项目计数 |
|
在租户上处理的队列项目数。 |
|
队列计数 |
|
此租户上已处理数据的队列数量。 |
将 SSIS 包部署到 SQL 以导出 Insights 数据。
UiPathInsightsDataExport.zip is bundled with the Insights release files (check Insights installation). It contains 3 files: a manifest file, and 2 XML files.
- Create the manifest file that comes with the release packages (check Insights installation).
- Select the manifest file to start the installation wizard.
-
选择 SQL Server 部署。
或者,如果需要,您可以选择“文件系统”部署选项。
-
指定目标 SQL Server(例如
(local))。 要将其部署到远程计算机,请选择“ 使用 SQL Server 身份验证”。 - 选择要部署 SSIS 包的位置。 为此,您可能需要创建一个新文件夹。 请在执行此步骤之前创建文件夹,然后将其选为目标。
-
在“ 配置包 ” 步骤中,填写源数据库的连接字符串和要将数据导出到的根目标路径。
要导出 Insights 数据,您需要执行包实用程序。
- 登录到 SQL Server Integration Services。
- 导航到上述步骤 5 中用于部署包的文件夹。
-
找到已部署的包,然后选择 “运行包”。
如果要定期运行数据导出,可以使用各种选项计划 SSIS 包的执行。 有关如何执行此操作的说明,请访问 Microsoft 文档。