Skip to content

洞察#

¥Insights

Insights 功能使实例所有者和管理员能够了解工作流随时间推移的运行情况。此功能包含三个部分:

¥Insights gives instance owners and admins visibility into how workflows perform over time. This feature consists of three parts:

¥Insights summary banner: Shows key metrics about your instance from the last 7 days at the top of the overview space.

  • 洞察仪表盘:包含每个工作流指标和历史对比的更详细的可视化分析。

¥Insights dashboard: A more detailed visual breakdown with per-workflow metrics and historical comparisons.

¥Time saved (Workflow ROI): For each workflow, you can set the number of minutes of work that each production execution saves you.

Feature availability

洞察摘要横幅显示所有套餐过去 7 天的活动。洞察仪表板仅适用于专业版(日期范围有限)和企业版套餐。

¥The insights summary banner displays activity from the last 7 days for all plans. The insights dashboard is only available on Pro (with limited date ranges) and Enterprise plans.

洞察摘要横幅#

¥Insights summary banner

n8n 为洞察摘要横幅和仪表板收集多个指标。它们包括:

¥n8n collects several metrics for both the insights summary banner and dashboard. They include:

  • 总生产执行次数(不包括子工作流执行或手动执行)

¥Total production executions (not including sub-workflow executions or manual executions)

  • 生产环境执行失败总数

¥Total failed production executions

  • 生产执行失败率

¥Production execution failure rate

  • 节省的时间(当至少在一个或多个活动工作流中设置时)。

¥Time saved (when set on at least one or more active workflows)

  • 平均运行时间(包括来自任何等待节点的等待时间)

¥Run time average (including wait time from any wait nodes)

洞察仪表盘#

¥Insights dashboard

Pro 和 Enterprise 套餐用户可以从侧边导航访问“洞察”部分。摘要横幅中的每个指标都可以点击,点击后会跳转到相应的图表。

¥Those on the Pro and Enterprise plans can access the Insights section from the side navigation. Each metric from the summary banner is also clickable, taking you to the corresponding chart.

洞察仪表板还包含一个表格,显示每个工作流的各项洞察信息,包括生产执行总数、生产执行失败次数、失败率、节省时间以及平均运行时间。

¥The insights dashboard also has a table showing individual insights from each workflow including total production executions, failed production executions, failure rate, time saved, and run time average.

洞察时间段#

¥Insights time periods

默认情况下,洞察摘要横幅和仪表板显示滚动 7 天窗口,并与前一周期进行比较,以识别每个指标的增减情况。在控制面板中,付费计划还会显示其他日期范围的数据:

¥By default, the insights summary banner and dashboard show a rolling 7 day window with a comparison to the previous period to identify increases or decreases for each metric. On the dashboard, paid plans also display data for other date ranges:

  • 专业版:7 天和 14 天

¥Pro: 7 and 14 days

  • 企业:24 小时、7 天、14 天、30 天、90 天、6 个月、1 年

¥Enterprise: 24 hours, 7 days, 14 days, 30 days, 90 days, 6 months, 1 year

设置工作流节省的时间#

¥Setting the time saved by a workflow

对于每个工作流,你可以设置每次运行工作流节省的工作时间(以分钟为单位)。你可以通过导航到工作流,选择右上角的三点菜单,然后选择“设置”来配置此项。你可以在此处更新“预计节省时间”的值并保存。

¥For each workflow, you can set the number of minutes of work a workflow saves you each time it runs. You can configure this by navigating to the workflow, selecting the three dots menu in the top right and selecting settings. There you can update the Estimated time saved value and save.

此设置可帮助你计算自动化流程与手动完成相同任务或流程相比,随着时间的推移节省的时间。设置完成后,n8n 会根据生产环境的执行次数计算工作流节省的时间,并将其显示在摘要横幅和仪表板上。

¥This setting helps you calculate how much time automating a process saves over time vs the manual effort to complete the same task or process. Once set, n8n calculates the amount of time the workflow saves you based on the number of production executions and displays it on the summary banner and dashboard.

禁用或配置 Insights 指标收集#

¥Disable or configure insights metrics collection

如果你自行托管 n8n,你可以使用 环境变量 禁用或配置 Insights 和指标收集。

¥If you self-host n8n, you can disable or configure insights and metrics collection using environment variables.

洞察常见问题解答#

¥Insights FAQs

n8n 使用哪些执行来计算洞察横幅和仪表板中的值?#

¥Which executions do n8n use to calculate the values in the insights banner and dashboard?

n8n Insights 仅从主(父)工作流中收集生产执行的数据(例如,按计划或 Webhook 触发的活动工作流)。这意味着,它不计算手动(测试)执行次数,也不计算来自子工作流或错误工作流的执行次数。

¥n8n insights only collects data from production executions (for example, those from active workflows triggered on a schedule or a webhook) from the main (parent) workflow. This means that it doesn't count manual (test) executions or executions from sub-workflows or error workflows.

n8n 在升级到包含 Insights 功能的版本时是否使用历史执行数据?#

¥Does n8n use historic execution data when upgrading to a version with insights?

n8n 仅在你更新到第一个受支持的版本 (1.89.0) 后才开始收集数据以进行分析。这意味着它只会报告从该点开始的执行情况,你将无法在之前的洞察报告中看到执行数据。

¥n8n only starts collecting data for insights once you update to the first supported version (1.89.0). This means it only reports on executions from that point forward and you won't see execution data in insights from prior periods.