Home charts execution time per node type on a log scale, from a /observability/node-types rollup

This commit is contained in:
2026-10-15 16:57:07 +02:00
parent fa8b178866
commit 56fa34c2c9
9 changed files with 360 additions and 3 deletions
+29
View File
@@ -2657,6 +2657,35 @@ export const NodeTypeInfoSchema = {
description: 'A node type the editor can offer, with its parameter schema.'
} as const;
export const NodeTypeTimingSchema = {
properties: {
type: {
type: 'string',
title: 'Type'
},
nodes: {
type: 'integer',
title: 'Nodes'
},
executions: {
type: 'integer',
title: 'Executions'
},
avg_ms: {
type: 'number',
title: 'Avg Ms'
},
max_ms: {
type: 'number',
title: 'Max Ms'
}
},
type: 'object',
required: ['type', 'nodes', 'executions', 'avg_ms', 'max_ms'],
title: 'NodeTypeTiming',
description: 'How long one kind of node takes to run, across every node of it.'
} as const;
export const OAuthAuthorizeInfoSchema = {
properties: {
client_name: {
File diff suppressed because one or more lines are too long
+17
View File
@@ -919,6 +919,17 @@ export type NodeTypeInfo = {
plugin?: (string | null);
};
/**
* How long one kind of node takes to run, across every node of it.
*/
export type NodeTypeTiming = {
type: string;
nodes: number;
executions: number;
avg_ms: number;
max_ms: number;
};
/**
* What the consent page shows, all of it validated server-side.
*/
@@ -2025,6 +2036,12 @@ export type ObservabilityReadFlowRollupsData = {
export type ObservabilityReadFlowRollupsResponse = (Array<FlowRollup>);
export type ObservabilityReadNodeTypeTimingsData = {
hours?: number;
};
export type ObservabilityReadNodeTypeTimingsResponse = (Array<NodeTypeTiming>);
export type ObservabilityReadRunsData = {
flow?: (string | null);
limit?: number;