@n8n/telemetry 1.2.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.tsbuildinfo +1 -1
- package/dist/events/agents.d.ts +17 -1
- package/dist/events/agents.js +15 -1
- package/dist/events/agents.js.map +1 -1
- package/dist/events/credentials.d.ts +18 -0
- package/dist/events/credentials.js +19 -0
- package/dist/events/credentials.js.map +1 -0
- package/dist/events/instance-ai.d.ts +167 -0
- package/dist/events/instance-ai.js +139 -0
- package/dist/events/instance-ai.js.map +1 -0
- package/dist/events/instance.d.ts +115 -0
- package/dist/events/instance.js +115 -0
- package/dist/events/instance.js.map +1 -0
- package/dist/events/mcp.d.ts +34 -0
- package/dist/events/mcp.js +32 -0
- package/dist/events/mcp.js.map +1 -0
- package/dist/telemetry-events.d.ts +347 -1
- package/dist/telemetry-events.js +8 -0
- package/dist/telemetry-events.js.map +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.INSTANCE_TELEMETRY = void 0;
|
|
4
|
+
const v4_1 = require("zod/v4");
|
|
5
|
+
const define_1 = require("../define");
|
|
6
|
+
exports.INSTANCE_TELEMETRY = (0, define_1.defineTelemetryEvents)({
|
|
7
|
+
INSTANCE_STARTED: {
|
|
8
|
+
name: 'Instance started',
|
|
9
|
+
description: 'Instance finished booting, reported once per main process start with a snapshot of its configuration.',
|
|
10
|
+
properties: v4_1.z.object({
|
|
11
|
+
version_cli: v4_1.z.string(),
|
|
12
|
+
db_type: v4_1.z.enum(['sqlite', 'postgresdb']),
|
|
13
|
+
db_version: v4_1.z
|
|
14
|
+
.string()
|
|
15
|
+
.nullable()
|
|
16
|
+
.describe('Postgres server version, or SQLite library version. Null when it could not be determined, which for `postgresdb` means the query failed rather than that the instance runs SQLite.'),
|
|
17
|
+
n8n_version_notifications_enabled: v4_1.z.boolean(),
|
|
18
|
+
n8n_disable_production_main_process: v4_1.z.boolean(),
|
|
19
|
+
system_info: v4_1.z.object({
|
|
20
|
+
os: v4_1.z.object({
|
|
21
|
+
type: v4_1.z.string(),
|
|
22
|
+
version: v4_1.z.string(),
|
|
23
|
+
}),
|
|
24
|
+
memory: v4_1.z.number().describe('Total system memory in KiB'),
|
|
25
|
+
cpus: v4_1.z.object({
|
|
26
|
+
count: v4_1.z.number(),
|
|
27
|
+
model: v4_1.z.string(),
|
|
28
|
+
speed: v4_1.z.number().describe('Clock speed in MHz'),
|
|
29
|
+
}),
|
|
30
|
+
is_docker: v4_1.z.boolean(),
|
|
31
|
+
}),
|
|
32
|
+
execution_variables: v4_1.z.object({
|
|
33
|
+
executions_mode: v4_1.z.enum(['regular', 'queue']),
|
|
34
|
+
executions_timeout: v4_1.z.number().describe('Seconds, -1 for unlimited'),
|
|
35
|
+
executions_timeout_max: v4_1.z.number().describe('Seconds'),
|
|
36
|
+
executions_data_save_on_error: v4_1.z.enum(['all', 'none']),
|
|
37
|
+
executions_data_save_on_success: v4_1.z.enum(['all', 'none']),
|
|
38
|
+
executions_data_save_on_progress: v4_1.z.boolean(),
|
|
39
|
+
executions_data_save_manual_executions: v4_1.z.boolean(),
|
|
40
|
+
executions_data_prune: v4_1.z.boolean(),
|
|
41
|
+
executions_data_max_age: v4_1.z.number().describe('Hours'),
|
|
42
|
+
}),
|
|
43
|
+
workflow_history: v4_1.z.object({
|
|
44
|
+
compaction_optimizing_time_window_hours: v4_1.z.number(),
|
|
45
|
+
compaction_trim_on_start_up: v4_1.z.boolean(),
|
|
46
|
+
compaction_trimming_time_window_days: v4_1.z.number(),
|
|
47
|
+
}),
|
|
48
|
+
n8n_deployment_type: v4_1.z.string(),
|
|
49
|
+
n8n_binary_data_mode: v4_1.z.enum(['default', 'filesystem', 's3', 'azure', 'database']),
|
|
50
|
+
smtp_set_up: v4_1.z.boolean(),
|
|
51
|
+
ldap_allowed: v4_1.z.boolean(),
|
|
52
|
+
saml_enabled: v4_1.z.boolean(),
|
|
53
|
+
license_plan_name: v4_1.z.string(),
|
|
54
|
+
license_tenant_id: v4_1.z.number(),
|
|
55
|
+
binary_data_s3: v4_1.z
|
|
56
|
+
.boolean()
|
|
57
|
+
.describe('S3 binary data is selected, available and licensed, all three'),
|
|
58
|
+
multi_main_setup_enabled: v4_1.z.boolean(),
|
|
59
|
+
instance_ai: v4_1.z
|
|
60
|
+
.object({
|
|
61
|
+
sandbox_enabled: v4_1.z.boolean(),
|
|
62
|
+
sandbox_provider: v4_1.z.string(),
|
|
63
|
+
search_brave_set: v4_1.z.boolean(),
|
|
64
|
+
search_searxng_set: v4_1.z.boolean(),
|
|
65
|
+
model_env_set: v4_1.z
|
|
66
|
+
.boolean()
|
|
67
|
+
.describe('Model connection env vars are set (API key or base URL). UI-credential model state is on the "AI Assistant setup completed" and "User viewed AI Assistant setup page" events instead'),
|
|
68
|
+
model_id: v4_1.z
|
|
69
|
+
.string()
|
|
70
|
+
.describe("Configured model identifier incl. provider, e.g. 'anthropic/claude-sonnet-4'"),
|
|
71
|
+
})
|
|
72
|
+
.describe('Which model, sandbox and search providers are configured via env vars, never key values'),
|
|
73
|
+
metrics: v4_1.z.object({
|
|
74
|
+
metrics_enabled: v4_1.z.boolean(),
|
|
75
|
+
metrics_category_default: v4_1.z.boolean(),
|
|
76
|
+
metrics_category_routes: v4_1.z.boolean(),
|
|
77
|
+
metrics_category_cache: v4_1.z.boolean(),
|
|
78
|
+
metrics_category_logs: v4_1.z.boolean(),
|
|
79
|
+
metrics_category_queue: v4_1.z.boolean(),
|
|
80
|
+
metrics_category_execution_data: v4_1.z.boolean(),
|
|
81
|
+
metrics_category_webhooks: v4_1.z.boolean(),
|
|
82
|
+
metrics_category_forms: v4_1.z.boolean(),
|
|
83
|
+
metrics_category_workflow_info: v4_1.z.boolean(),
|
|
84
|
+
}),
|
|
85
|
+
earliest_workflow_created: v4_1.z
|
|
86
|
+
.unknown()
|
|
87
|
+
.describe('Date of the oldest workflow, absent when the instance has none'),
|
|
88
|
+
otel: v4_1.z.object({
|
|
89
|
+
enabled: v4_1.z.boolean(),
|
|
90
|
+
include_node_spans: v4_1.z.boolean(),
|
|
91
|
+
}),
|
|
92
|
+
settings_managed_by_env_vars: v4_1.z.object({
|
|
93
|
+
owner_managed_by_env: v4_1.z.boolean(),
|
|
94
|
+
sso_managed_by_env: v4_1.z.boolean(),
|
|
95
|
+
security_policy_managed_by_env: v4_1.z.boolean(),
|
|
96
|
+
log_streaming_managed_by_env: v4_1.z.boolean(),
|
|
97
|
+
mcp_managed_by_env: v4_1.z.boolean(),
|
|
98
|
+
community_packages_managed_by_env: v4_1.z.boolean(),
|
|
99
|
+
}),
|
|
100
|
+
}),
|
|
101
|
+
},
|
|
102
|
+
INSTANCE_REFUSED_DURABLE_POLLERS: {
|
|
103
|
+
name: 'Instance refused durable pollers',
|
|
104
|
+
description: 'Boot scan found active workflows whose published version has duplicate or missing trigger node ids. Durable poll cursors and durable-scheduler poll triggers were disabled instance-wide and the offending workflows poller_state rows were deleted.',
|
|
105
|
+
properties: v4_1.z.object({
|
|
106
|
+
workflow_ids: v4_1.z
|
|
107
|
+
.array(v4_1.z.string())
|
|
108
|
+
.describe('Active workflows whose published version failed the trigger node id check'),
|
|
109
|
+
deleted_cursor_rows: v4_1.z
|
|
110
|
+
.number()
|
|
111
|
+
.describe('How many poller_state rows of the offending workflows were deleted'),
|
|
112
|
+
}),
|
|
113
|
+
},
|
|
114
|
+
});
|
|
115
|
+
//# sourceMappingURL=instance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../src/events/instance.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAE3B,sCAAkD;AAErC,QAAA,kBAAkB,GAAG,IAAA,8BAAqB,EAAC;IACvD,gBAAgB,EAAE;QACjB,IAAI,EAAE,kBAAkB;QACxB,WAAW,EACV,uGAAuG;QACxG,UAAU,EAAE,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,OAAO,EAAE;aAC9C,CAAC;SACF,CAAC;KACF;IACD,gCAAgC,EAAE;QACjC,IAAI,EAAE,kCAAkC;QACxC,WAAW,EACV,sPAAsP;QACvP,UAAU,EAAE,MAAC,CAAC,MAAM,CAAC;YACpB,YAAY,EAAE,MAAC;iBACb,KAAK,CAAC,MAAC,CAAC,MAAM,EAAE,CAAC;iBACjB,QAAQ,CAAC,2EAA2E,CAAC;YACvF,mBAAmB,EAAE,MAAC;iBACpB,MAAM,EAAE;iBACR,QAAQ,CAAC,oEAAoE,CAAC;SAChF,CAAC;KACF;CACD,CAAC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
export declare const MCP_TELEMETRY: {
|
|
3
|
+
readonly USER_GAVE_MCP_ACCESS_TO_WORKFLOW: {
|
|
4
|
+
readonly name: "User gave MCP access to workflow";
|
|
5
|
+
readonly description: "A workflow was exposed over MCP.";
|
|
6
|
+
readonly properties: z.ZodObject<{
|
|
7
|
+
workflow_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
} & import("../define").TelemetryEventInput & {
|
|
10
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
11
|
+
};
|
|
12
|
+
readonly USER_TOGGLED_MCP_ACCESS: {
|
|
13
|
+
readonly name: "User toggled MCP access";
|
|
14
|
+
readonly description: "An admin turned instance-level MCP access on or off. Reports the resulting state.";
|
|
15
|
+
readonly properties: z.ZodObject<{
|
|
16
|
+
state: z.ZodBoolean;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
} & import("../define").TelemetryEventInput & {
|
|
19
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
20
|
+
};
|
|
21
|
+
readonly AUTO_EXPOSE_NEW_WORKFLOWS_TOGGLED: {
|
|
22
|
+
readonly name: "User toggled auto-expose new workflows to MCP";
|
|
23
|
+
readonly description: "An admin turned the \"Auto-expose new workflows\" MCP setting on or off. Reports the resulting state so enabling and disabling are distinguishable.";
|
|
24
|
+
readonly properties: z.ZodObject<{
|
|
25
|
+
enabled: z.ZodBoolean;
|
|
26
|
+
source: z.ZodEnum<{
|
|
27
|
+
expose_all: "expose_all";
|
|
28
|
+
settings: "settings";
|
|
29
|
+
}>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
} & import("../define").TelemetryEventInput & {
|
|
32
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MCP_TELEMETRY = void 0;
|
|
4
|
+
const v4_1 = require("zod/v4");
|
|
5
|
+
const define_1 = require("../define");
|
|
6
|
+
exports.MCP_TELEMETRY = (0, define_1.defineTelemetryEvents)({
|
|
7
|
+
USER_GAVE_MCP_ACCESS_TO_WORKFLOW: {
|
|
8
|
+
name: 'User gave MCP access to workflow',
|
|
9
|
+
description: 'A workflow was exposed over MCP.',
|
|
10
|
+
properties: v4_1.z.object({
|
|
11
|
+
workflow_id: v4_1.z.string(),
|
|
12
|
+
}),
|
|
13
|
+
},
|
|
14
|
+
USER_TOGGLED_MCP_ACCESS: {
|
|
15
|
+
name: 'User toggled MCP access',
|
|
16
|
+
description: 'An admin turned instance-level MCP access on or off. Reports the resulting state.',
|
|
17
|
+
properties: v4_1.z.object({
|
|
18
|
+
state: v4_1.z.boolean().describe('Resulting state of MCP access, not the prior one'),
|
|
19
|
+
}),
|
|
20
|
+
},
|
|
21
|
+
AUTO_EXPOSE_NEW_WORKFLOWS_TOGGLED: {
|
|
22
|
+
name: 'User toggled auto-expose new workflows to MCP',
|
|
23
|
+
description: 'An admin turned the "Auto-expose new workflows" MCP setting on or off. Reports the resulting state so enabling and disabling are distinguishable.',
|
|
24
|
+
properties: v4_1.z.object({
|
|
25
|
+
enabled: v4_1.z.boolean().describe('Resulting state of the setting, not the prior one'),
|
|
26
|
+
source: v4_1.z
|
|
27
|
+
.enum(['settings', 'expose_all'])
|
|
28
|
+
.describe('Where the toggle came from: "settings" for the manual MCP settings switch, "expose_all" when enabled automatically as part of exposing all workflows'),
|
|
29
|
+
}),
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=mcp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.js","sourceRoot":"","sources":["../../src/events/mcp.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAE3B,sCAAkD;AAErC,QAAA,aAAa,GAAG,IAAA,8BAAqB,EAAC;IAClD,gCAAgC,EAAE;QACjC,IAAI,EAAE,kCAAkC;QACxC,WAAW,EAAE,kCAAkC;QAC/C,UAAU,EAAE,MAAC,CAAC,MAAM,CAAC;YACpB,WAAW,EAAE,MAAC,CAAC,MAAM,EAAE;SACvB,CAAC;KACF;IACD,uBAAuB,EAAE;QACxB,IAAI,EAAE,yBAAyB;QAC/B,WAAW,EACV,mFAAmF;QACpF,UAAU,EAAE,MAAC,CAAC,MAAM,CAAC;YACpB,KAAK,EAAE,MAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,kDAAkD,CAAC;SAC/E,CAAC;KACF;IACD,iCAAiC,EAAE;QAClC,IAAI,EAAE,+CAA+C;QACrD,WAAW,EACV,mJAAmJ;QACpJ,UAAU,EAAE,MAAC,CAAC,MAAM,CAAC;YACpB,OAAO,EAAE,MAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,mDAAmD,CAAC;YAClF,MAAM,EAAE,MAAC;iBACP,IAAI,CAAC,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;iBAChC,QAAQ,CACR,sJAAsJ,CACtJ;SACF,CAAC;KACF;CACD,CAAC,CAAC"}
|
|
@@ -753,6 +753,22 @@ export declare const TELEMETRY_EVENT: {
|
|
|
753
753
|
} & import("./define").TelemetryEventInput & {
|
|
754
754
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
755
755
|
};
|
|
756
|
+
readonly USER_ADDED_AGENT_NODE: {
|
|
757
|
+
readonly name: "User added agent node";
|
|
758
|
+
readonly description: "The user added a Message an Agent node to the workflow canvas. agent_source distinguishes the inline agent variant from calling an existing agent.";
|
|
759
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
760
|
+
agent_source: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
761
|
+
inline: "inline";
|
|
762
|
+
referenced: "referenced";
|
|
763
|
+
}>>;
|
|
764
|
+
agent_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
765
|
+
workflow_id: import("zod/v4").ZodString;
|
|
766
|
+
node_id: import("zod/v4").ZodString;
|
|
767
|
+
node_version: import("zod/v4").ZodNumber;
|
|
768
|
+
}, import("zod/v4/core").$strip>;
|
|
769
|
+
} & import("./define").TelemetryEventInput & {
|
|
770
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
771
|
+
};
|
|
756
772
|
readonly USER_OPENED_AGENT_TOOL: {
|
|
757
773
|
readonly name: "User opened agent tool";
|
|
758
774
|
readonly description: "The user opened a tool from the builder capabilities list.";
|
|
@@ -807,7 +823,7 @@ export declare const TELEMETRY_EVENT: {
|
|
|
807
823
|
};
|
|
808
824
|
readonly USER_STARTED_ADDING_AGENT_TOOL: {
|
|
809
825
|
readonly name: "User started adding agent tool";
|
|
810
|
-
readonly description: "The user
|
|
826
|
+
readonly description: "The user started adding an available tool manually by connecting it or creating a workflow.";
|
|
811
827
|
readonly properties: import("zod/v4").ZodObject<{
|
|
812
828
|
tool_type: import("zod/v4").ZodEnum<{
|
|
813
829
|
custom: "custom";
|
|
@@ -858,4 +874,334 @@ export declare const TELEMETRY_EVENT: {
|
|
|
858
874
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
859
875
|
};
|
|
860
876
|
};
|
|
877
|
+
CREDENTIALS: {
|
|
878
|
+
readonly USER_PROBED_CREDENTIAL: {
|
|
879
|
+
readonly name: "User probed credential";
|
|
880
|
+
readonly description: "A stored credential was auth-probed against its own persisted test URL (POST /credentials/:id/probe) — the test path for generic credential types that declare no test, currently Simplified Custom Auth. Fires once per probe, including retries. The outcome is the probe's three-state verdict; joins to 'User created credentials' on credential_id.";
|
|
881
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
882
|
+
user_id: import("zod/v4").ZodString;
|
|
883
|
+
credential_id: import("zod/v4").ZodString;
|
|
884
|
+
outcome: import("zod/v4").ZodEnum<{
|
|
885
|
+
accepted: "accepted";
|
|
886
|
+
rejected: "rejected";
|
|
887
|
+
unverified: "unverified";
|
|
888
|
+
}>;
|
|
889
|
+
}, import("zod/v4/core").$strip>;
|
|
890
|
+
} & import("./define").TelemetryEventInput & {
|
|
891
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
INSTANCE: {
|
|
895
|
+
readonly INSTANCE_STARTED: {
|
|
896
|
+
readonly name: "Instance started";
|
|
897
|
+
readonly description: "Instance finished booting, reported once per main process start with a snapshot of its configuration.";
|
|
898
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
899
|
+
version_cli: import("zod/v4").ZodString;
|
|
900
|
+
db_type: import("zod/v4").ZodEnum<{
|
|
901
|
+
postgresdb: "postgresdb";
|
|
902
|
+
sqlite: "sqlite";
|
|
903
|
+
}>;
|
|
904
|
+
db_version: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
905
|
+
n8n_version_notifications_enabled: import("zod/v4").ZodBoolean;
|
|
906
|
+
n8n_disable_production_main_process: import("zod/v4").ZodBoolean;
|
|
907
|
+
system_info: import("zod/v4").ZodObject<{
|
|
908
|
+
os: import("zod/v4").ZodObject<{
|
|
909
|
+
type: import("zod/v4").ZodString;
|
|
910
|
+
version: import("zod/v4").ZodString;
|
|
911
|
+
}, import("zod/v4/core").$strip>;
|
|
912
|
+
memory: import("zod/v4").ZodNumber;
|
|
913
|
+
cpus: import("zod/v4").ZodObject<{
|
|
914
|
+
count: import("zod/v4").ZodNumber;
|
|
915
|
+
model: import("zod/v4").ZodString;
|
|
916
|
+
speed: import("zod/v4").ZodNumber;
|
|
917
|
+
}, import("zod/v4/core").$strip>;
|
|
918
|
+
is_docker: import("zod/v4").ZodBoolean;
|
|
919
|
+
}, import("zod/v4/core").$strip>;
|
|
920
|
+
execution_variables: import("zod/v4").ZodObject<{
|
|
921
|
+
executions_mode: import("zod/v4").ZodEnum<{
|
|
922
|
+
queue: "queue";
|
|
923
|
+
regular: "regular";
|
|
924
|
+
}>;
|
|
925
|
+
executions_timeout: import("zod/v4").ZodNumber;
|
|
926
|
+
executions_timeout_max: import("zod/v4").ZodNumber;
|
|
927
|
+
executions_data_save_on_error: import("zod/v4").ZodEnum<{
|
|
928
|
+
all: "all";
|
|
929
|
+
none: "none";
|
|
930
|
+
}>;
|
|
931
|
+
executions_data_save_on_success: import("zod/v4").ZodEnum<{
|
|
932
|
+
all: "all";
|
|
933
|
+
none: "none";
|
|
934
|
+
}>;
|
|
935
|
+
executions_data_save_on_progress: import("zod/v4").ZodBoolean;
|
|
936
|
+
executions_data_save_manual_executions: import("zod/v4").ZodBoolean;
|
|
937
|
+
executions_data_prune: import("zod/v4").ZodBoolean;
|
|
938
|
+
executions_data_max_age: import("zod/v4").ZodNumber;
|
|
939
|
+
}, import("zod/v4/core").$strip>;
|
|
940
|
+
workflow_history: import("zod/v4").ZodObject<{
|
|
941
|
+
compaction_optimizing_time_window_hours: import("zod/v4").ZodNumber;
|
|
942
|
+
compaction_trim_on_start_up: import("zod/v4").ZodBoolean;
|
|
943
|
+
compaction_trimming_time_window_days: import("zod/v4").ZodNumber;
|
|
944
|
+
}, import("zod/v4/core").$strip>;
|
|
945
|
+
n8n_deployment_type: import("zod/v4").ZodString;
|
|
946
|
+
n8n_binary_data_mode: import("zod/v4").ZodEnum<{
|
|
947
|
+
azure: "azure";
|
|
948
|
+
database: "database";
|
|
949
|
+
default: "default";
|
|
950
|
+
filesystem: "filesystem";
|
|
951
|
+
s3: "s3";
|
|
952
|
+
}>;
|
|
953
|
+
smtp_set_up: import("zod/v4").ZodBoolean;
|
|
954
|
+
ldap_allowed: import("zod/v4").ZodBoolean;
|
|
955
|
+
saml_enabled: import("zod/v4").ZodBoolean;
|
|
956
|
+
license_plan_name: import("zod/v4").ZodString;
|
|
957
|
+
license_tenant_id: import("zod/v4").ZodNumber;
|
|
958
|
+
binary_data_s3: import("zod/v4").ZodBoolean;
|
|
959
|
+
multi_main_setup_enabled: import("zod/v4").ZodBoolean;
|
|
960
|
+
instance_ai: import("zod/v4").ZodObject<{
|
|
961
|
+
sandbox_enabled: import("zod/v4").ZodBoolean;
|
|
962
|
+
sandbox_provider: import("zod/v4").ZodString;
|
|
963
|
+
search_brave_set: import("zod/v4").ZodBoolean;
|
|
964
|
+
search_searxng_set: import("zod/v4").ZodBoolean;
|
|
965
|
+
model_env_set: import("zod/v4").ZodBoolean;
|
|
966
|
+
model_id: import("zod/v4").ZodString;
|
|
967
|
+
}, import("zod/v4/core").$strip>;
|
|
968
|
+
metrics: import("zod/v4").ZodObject<{
|
|
969
|
+
metrics_enabled: import("zod/v4").ZodBoolean;
|
|
970
|
+
metrics_category_default: import("zod/v4").ZodBoolean;
|
|
971
|
+
metrics_category_routes: import("zod/v4").ZodBoolean;
|
|
972
|
+
metrics_category_cache: import("zod/v4").ZodBoolean;
|
|
973
|
+
metrics_category_logs: import("zod/v4").ZodBoolean;
|
|
974
|
+
metrics_category_queue: import("zod/v4").ZodBoolean;
|
|
975
|
+
metrics_category_execution_data: import("zod/v4").ZodBoolean;
|
|
976
|
+
metrics_category_webhooks: import("zod/v4").ZodBoolean;
|
|
977
|
+
metrics_category_forms: import("zod/v4").ZodBoolean;
|
|
978
|
+
metrics_category_workflow_info: import("zod/v4").ZodBoolean;
|
|
979
|
+
}, import("zod/v4/core").$strip>;
|
|
980
|
+
earliest_workflow_created: import("zod/v4").ZodUnknown;
|
|
981
|
+
otel: import("zod/v4").ZodObject<{
|
|
982
|
+
enabled: import("zod/v4").ZodBoolean;
|
|
983
|
+
include_node_spans: import("zod/v4").ZodBoolean;
|
|
984
|
+
}, import("zod/v4/core").$strip>;
|
|
985
|
+
settings_managed_by_env_vars: import("zod/v4").ZodObject<{
|
|
986
|
+
owner_managed_by_env: import("zod/v4").ZodBoolean;
|
|
987
|
+
sso_managed_by_env: import("zod/v4").ZodBoolean;
|
|
988
|
+
security_policy_managed_by_env: import("zod/v4").ZodBoolean;
|
|
989
|
+
log_streaming_managed_by_env: import("zod/v4").ZodBoolean;
|
|
990
|
+
mcp_managed_by_env: import("zod/v4").ZodBoolean;
|
|
991
|
+
community_packages_managed_by_env: import("zod/v4").ZodBoolean;
|
|
992
|
+
}, import("zod/v4/core").$strip>;
|
|
993
|
+
}, import("zod/v4/core").$strip>;
|
|
994
|
+
} & import("./define").TelemetryEventInput & {
|
|
995
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
996
|
+
};
|
|
997
|
+
readonly INSTANCE_REFUSED_DURABLE_POLLERS: {
|
|
998
|
+
readonly name: "Instance refused durable pollers";
|
|
999
|
+
readonly description: "Boot scan found active workflows whose published version has duplicate or missing trigger node ids. Durable poll cursors and durable-scheduler poll triggers were disabled instance-wide and the offending workflows poller_state rows were deleted.";
|
|
1000
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1001
|
+
workflow_ids: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
1002
|
+
deleted_cursor_rows: import("zod/v4").ZodNumber;
|
|
1003
|
+
}, import("zod/v4/core").$strip>;
|
|
1004
|
+
} & import("./define").TelemetryEventInput & {
|
|
1005
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
INSTANCE_AI: {
|
|
1009
|
+
readonly USER_CLICKED_AI_CREDIT_BALANCE: {
|
|
1010
|
+
readonly name: "User clicked AI credit balance";
|
|
1011
|
+
readonly description: "The user clicked the AI Assistant credit balance button to open or close the balance dropdown.";
|
|
1012
|
+
readonly properties: import("zod/v4").ZodObject<{}, import("zod/v4/core").$strip>;
|
|
1013
|
+
} & import("./define").TelemetryEventInput & {
|
|
1014
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1015
|
+
};
|
|
1016
|
+
readonly BUILDER_SPECCED_TEMPLATED_CRED: {
|
|
1017
|
+
readonly name: "Builder specced templated cred";
|
|
1018
|
+
readonly description: "The Instance AI workflow builder composed a Simplified Custom Auth recipe (credentialHints) and suspended to show its setup card. Captures the recipe fields so template and link quality are observable in production — one event per recipe in the suspension. Contains no secrets by construction: recipes are agent-authored before any user input.";
|
|
1019
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1020
|
+
thread_id: import("zod/v4").ZodString;
|
|
1021
|
+
input_thread_id: import("zod/v4").ZodString;
|
|
1022
|
+
template: import("zod/v4").ZodRecord<import("zod/v4").ZodString, import("zod/v4").ZodUnknown>;
|
|
1023
|
+
placeholders: import("zod/v4").ZodArray<import("zod/v4").ZodRecord<import("zod/v4").ZodString, import("zod/v4").ZodUnknown>>;
|
|
1024
|
+
test_url: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1025
|
+
docs_url: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1026
|
+
service_host: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1027
|
+
accepted_status_codes: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodNumber>>;
|
|
1028
|
+
}, import("zod/v4/core").$strip>;
|
|
1029
|
+
} & import("./define").TelemetryEventInput & {
|
|
1030
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1031
|
+
};
|
|
1032
|
+
readonly USER_VIEWED_AI_ASSISTANT_SETUP_PAGE: {
|
|
1033
|
+
readonly name: "User viewed AI Assistant setup page";
|
|
1034
|
+
readonly description: "The user landed on a self-hosted AI Assistant setup surface: the onboarding takeover on /assistant, or the settings page on /settings/assistant. Carries the configuration snapshot at view time, so joined with \"AI Assistant setup completed\" it measures setup drop-off. Not emitted on cloud or proxy deployments, where setup is managed.";
|
|
1035
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1036
|
+
model_source: import("zod/v4").ZodEnum<{
|
|
1037
|
+
env: "env";
|
|
1038
|
+
none: "none";
|
|
1039
|
+
ui: "ui";
|
|
1040
|
+
}>;
|
|
1041
|
+
model_provider: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
1042
|
+
model_name: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
1043
|
+
sandbox_source: import("zod/v4").ZodEnum<{
|
|
1044
|
+
env: "env";
|
|
1045
|
+
none: "none";
|
|
1046
|
+
ui: "ui";
|
|
1047
|
+
}>;
|
|
1048
|
+
sandbox_type: import("zod/v4").ZodNullable<import("zod/v4").ZodEnum<{
|
|
1049
|
+
daytona: "daytona";
|
|
1050
|
+
"n8n-sandbox": "n8n-sandbox";
|
|
1051
|
+
}>>;
|
|
1052
|
+
web_search_source: import("zod/v4").ZodEnum<{
|
|
1053
|
+
disabled: "disabled";
|
|
1054
|
+
env: "env";
|
|
1055
|
+
none: "none";
|
|
1056
|
+
ui: "ui";
|
|
1057
|
+
}>;
|
|
1058
|
+
web_search_provider: import("zod/v4").ZodNullable<import("zod/v4").ZodEnum<{
|
|
1059
|
+
brave: "brave";
|
|
1060
|
+
searxng: "searxng";
|
|
1061
|
+
}>>;
|
|
1062
|
+
page: import("zod/v4").ZodEnum<{
|
|
1063
|
+
onboarding: "onboarding";
|
|
1064
|
+
settings: "settings";
|
|
1065
|
+
}>;
|
|
1066
|
+
}, import("zod/v4/core").$strip>;
|
|
1067
|
+
} & import("./define").TelemetryEventInput & {
|
|
1068
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1069
|
+
};
|
|
1070
|
+
readonly USER_CONFIGURED_AI_ASSISTANT_MODEL: {
|
|
1071
|
+
readonly name: "User configured AI Assistant model";
|
|
1072
|
+
readonly description: "An admin saved an AI Assistant model connection (PUT /instance-ai/settings), covering the first connect, later changes, and same-provider key rotations: first connects are rows where previous_provider is absent. The event marks a saved configuration, not a verified one — the setup wizard verifies before saving, but a direct API save can skip verification. Env-var model config never emits this; it is visible on \"Instance started\" and on the snapshot events instead.";
|
|
1073
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1074
|
+
provider: import("zod/v4").ZodString;
|
|
1075
|
+
model: import("zod/v4").ZodString;
|
|
1076
|
+
previous_provider: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1077
|
+
previous_model: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1078
|
+
}, import("zod/v4/core").$strip>;
|
|
1079
|
+
} & import("./define").TelemetryEventInput & {
|
|
1080
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1081
|
+
};
|
|
1082
|
+
readonly USER_CONFIGURED_AI_ASSISTANT_SANDBOX: {
|
|
1083
|
+
readonly name: "User configured AI Assistant sandbox";
|
|
1084
|
+
readonly description: "An admin saved an AI Assistant sandbox connection (PUT /instance-ai/settings), covering the first connect, later changes, and same-provider key rotations: first connects are rows where previous_sandbox_type is absent. Env-var sandbox config never emits this.";
|
|
1085
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1086
|
+
sandbox_type: import("zod/v4").ZodEnum<{
|
|
1087
|
+
daytona: "daytona";
|
|
1088
|
+
"n8n-sandbox": "n8n-sandbox";
|
|
1089
|
+
}>;
|
|
1090
|
+
previous_sandbox_type: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1091
|
+
daytona: "daytona";
|
|
1092
|
+
"n8n-sandbox": "n8n-sandbox";
|
|
1093
|
+
}>>;
|
|
1094
|
+
}, import("zod/v4/core").$strip>;
|
|
1095
|
+
} & import("./define").TelemetryEventInput & {
|
|
1096
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1097
|
+
};
|
|
1098
|
+
readonly USER_CONFIGURED_AI_ASSISTANT_WEB_SEARCH: {
|
|
1099
|
+
readonly name: "User configured AI Assistant web search";
|
|
1100
|
+
readonly description: "An admin saved an AI Assistant web search connection (PUT /instance-ai/settings), covering the first connect, later changes, and same-provider key rotations: first connects are rows where previous_provider is absent. Explicitly disabling web search does not emit this; that decision is visible as web_search_source \"disabled\" on the snapshot events.";
|
|
1101
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1102
|
+
provider: import("zod/v4").ZodEnum<{
|
|
1103
|
+
brave: "brave";
|
|
1104
|
+
searxng: "searxng";
|
|
1105
|
+
}>;
|
|
1106
|
+
previous_provider: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1107
|
+
brave: "brave";
|
|
1108
|
+
searxng: "searxng";
|
|
1109
|
+
}>>;
|
|
1110
|
+
}, import("zod/v4/core").$strip>;
|
|
1111
|
+
} & import("./define").TelemetryEventInput & {
|
|
1112
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1113
|
+
};
|
|
1114
|
+
readonly AI_ASSISTANT_CONNECTION_FAILED: {
|
|
1115
|
+
readonly name: "AI Assistant connection failed";
|
|
1116
|
+
readonly description: "A setup verification call (POST /instance-ai/settings/verify/*) failed for a model, sandbox, or web search connection. One event covers all three components; the component property tells them apart. Fires once per failed verify attempt, including retries.";
|
|
1117
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1118
|
+
component: import("zod/v4").ZodEnum<{
|
|
1119
|
+
model: "model";
|
|
1120
|
+
sandbox: "sandbox";
|
|
1121
|
+
web_search: "web_search";
|
|
1122
|
+
}>;
|
|
1123
|
+
provider: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
1124
|
+
failure: import("zod/v4").ZodEnum<{
|
|
1125
|
+
forbidden: "forbidden";
|
|
1126
|
+
invalid_response: "invalid_response";
|
|
1127
|
+
provider_error: "provider_error";
|
|
1128
|
+
quota_exceeded: "quota_exceeded";
|
|
1129
|
+
rate_limited: "rate_limited";
|
|
1130
|
+
timeout: "timeout";
|
|
1131
|
+
unauthorized: "unauthorized";
|
|
1132
|
+
unreachable: "unreachable";
|
|
1133
|
+
}>;
|
|
1134
|
+
error_message: import("zod/v4").ZodString;
|
|
1135
|
+
}, import("zod/v4/core").$strip>;
|
|
1136
|
+
} & import("./define").TelemetryEventInput & {
|
|
1137
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1138
|
+
};
|
|
1139
|
+
readonly AI_ASSISTANT_SETUP_COMPLETED: {
|
|
1140
|
+
readonly name: "AI Assistant setup completed";
|
|
1141
|
+
readonly description: "A self-hosted instance reached a complete AI Assistant setup for the first time: model configured, sandbox configured, and web search decided (configured or explicitly disabled) — the same predicate that unlocks the assistant UI. Fires at most once per instance, guarded by a persisted settings key, regardless of how the last piece was set: emitted from the settings save path, with a boot-time check so an env-var finish is also counted. No \"User\" prefix because the last piece can land via env vars with no acting user.";
|
|
1142
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1143
|
+
model_source: import("zod/v4").ZodEnum<{
|
|
1144
|
+
env: "env";
|
|
1145
|
+
none: "none";
|
|
1146
|
+
ui: "ui";
|
|
1147
|
+
}>;
|
|
1148
|
+
model_provider: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
1149
|
+
model_name: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
1150
|
+
sandbox_source: import("zod/v4").ZodEnum<{
|
|
1151
|
+
env: "env";
|
|
1152
|
+
none: "none";
|
|
1153
|
+
ui: "ui";
|
|
1154
|
+
}>;
|
|
1155
|
+
sandbox_type: import("zod/v4").ZodNullable<import("zod/v4").ZodEnum<{
|
|
1156
|
+
daytona: "daytona";
|
|
1157
|
+
"n8n-sandbox": "n8n-sandbox";
|
|
1158
|
+
}>>;
|
|
1159
|
+
web_search_source: import("zod/v4").ZodEnum<{
|
|
1160
|
+
disabled: "disabled";
|
|
1161
|
+
env: "env";
|
|
1162
|
+
none: "none";
|
|
1163
|
+
ui: "ui";
|
|
1164
|
+
}>;
|
|
1165
|
+
web_search_provider: import("zod/v4").ZodNullable<import("zod/v4").ZodEnum<{
|
|
1166
|
+
brave: "brave";
|
|
1167
|
+
searxng: "searxng";
|
|
1168
|
+
}>>;
|
|
1169
|
+
}, import("zod/v4/core").$strip>;
|
|
1170
|
+
} & import("./define").TelemetryEventInput & {
|
|
1171
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
MCP: {
|
|
1175
|
+
readonly USER_GAVE_MCP_ACCESS_TO_WORKFLOW: {
|
|
1176
|
+
readonly name: "User gave MCP access to workflow";
|
|
1177
|
+
readonly description: "A workflow was exposed over MCP.";
|
|
1178
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1179
|
+
workflow_id: import("zod/v4").ZodString;
|
|
1180
|
+
}, import("zod/v4/core").$strip>;
|
|
1181
|
+
} & import("./define").TelemetryEventInput & {
|
|
1182
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1183
|
+
};
|
|
1184
|
+
readonly USER_TOGGLED_MCP_ACCESS: {
|
|
1185
|
+
readonly name: "User toggled MCP access";
|
|
1186
|
+
readonly description: "An admin turned instance-level MCP access on or off. Reports the resulting state.";
|
|
1187
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1188
|
+
state: import("zod/v4").ZodBoolean;
|
|
1189
|
+
}, import("zod/v4/core").$strip>;
|
|
1190
|
+
} & import("./define").TelemetryEventInput & {
|
|
1191
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1192
|
+
};
|
|
1193
|
+
readonly AUTO_EXPOSE_NEW_WORKFLOWS_TOGGLED: {
|
|
1194
|
+
readonly name: "User toggled auto-expose new workflows to MCP";
|
|
1195
|
+
readonly description: "An admin turned the \"Auto-expose new workflows\" MCP setting on or off. Reports the resulting state so enabling and disabling are distinguishable.";
|
|
1196
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1197
|
+
enabled: import("zod/v4").ZodBoolean;
|
|
1198
|
+
source: import("zod/v4").ZodEnum<{
|
|
1199
|
+
expose_all: "expose_all";
|
|
1200
|
+
settings: "settings";
|
|
1201
|
+
}>;
|
|
1202
|
+
}, import("zod/v4/core").$strip>;
|
|
1203
|
+
} & import("./define").TelemetryEventInput & {
|
|
1204
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
861
1207
|
};
|
package/dist/telemetry-events.js
CHANGED
|
@@ -2,9 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TELEMETRY_EVENT = void 0;
|
|
4
4
|
const agents_1 = require("./events/agents");
|
|
5
|
+
const credentials_1 = require("./events/credentials");
|
|
6
|
+
const instance_1 = require("./events/instance");
|
|
7
|
+
const instance_ai_1 = require("./events/instance-ai");
|
|
8
|
+
const mcp_1 = require("./events/mcp");
|
|
5
9
|
const platform_1 = require("./events/platform");
|
|
6
10
|
exports.TELEMETRY_EVENT = {
|
|
7
11
|
PLATFORM: platform_1.PLATFORM_TELEMETRY,
|
|
8
12
|
AGENTS: agents_1.AGENTS_TELEMETRY,
|
|
13
|
+
CREDENTIALS: credentials_1.CREDENTIALS_TELEMETRY,
|
|
14
|
+
INSTANCE: instance_1.INSTANCE_TELEMETRY,
|
|
15
|
+
INSTANCE_AI: instance_ai_1.INSTANCE_AI_TELEMETRY,
|
|
16
|
+
MCP: mcp_1.MCP_TELEMETRY,
|
|
9
17
|
};
|
|
10
18
|
//# sourceMappingURL=telemetry-events.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry-events.js","sourceRoot":"","sources":["../src/telemetry-events.ts"],"names":[],"mappings":";;;AACA,4CAAmD;AACnD,gDAAuD;AAE1C,QAAA,eAAe,GAAG;IAC9B,QAAQ,EAAE,6BAAkB;IAC5B,MAAM,EAAE,yBAAgB;
|
|
1
|
+
{"version":3,"file":"telemetry-events.js","sourceRoot":"","sources":["../src/telemetry-events.ts"],"names":[],"mappings":";;;AACA,4CAAmD;AACnD,sDAA6D;AAC7D,gDAAuD;AACvD,sDAA6D;AAC7D,sCAA6C;AAC7C,gDAAuD;AAE1C,QAAA,eAAe,GAAG;IAC9B,QAAQ,EAAE,6BAAkB;IAC5B,MAAM,EAAE,yBAAgB;IACxB,WAAW,EAAE,mCAAqB;IAClC,QAAQ,EAAE,6BAAkB;IAC5B,WAAW,EAAE,mCAAqB;IAClC,GAAG,EAAE,mBAAa;CACe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/telemetry",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/**/*",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"LICENSE.md",
|
|
10
|
+
"LICENSE_EE.md"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"zod": "3.25.76"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"typescript": "7.0.2",
|
|
20
20
|
"vite": "^8.0.2",
|
|
21
21
|
"vitest": "^4.1.9",
|
|
22
|
-
"@n8n/
|
|
23
|
-
"@n8n/
|
|
24
|
-
"@n8n/
|
|
22
|
+
"@n8n/eslint-config": "0.0.1",
|
|
23
|
+
"@n8n/typescript-config": "1.10.0",
|
|
24
|
+
"@n8n/vitest-config": "1.21.0"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
27
27
|
"homepage": "https://n8n.io",
|