Home charts execution time per node type on a log scale, from a /observability/node-types rollup
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user