@cadenza.io/core 3.15.1 → 3.15.3
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/index.js +27 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1352,12 +1352,11 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
1352
1352
|
if (this.errored || this.failed) {
|
|
1353
1353
|
this.emitMetricsWithMetadata("meta.node.errored", {
|
|
1354
1354
|
data: {
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1355
|
+
taskName: this.task.name,
|
|
1356
|
+
taskVersion: this.task.version,
|
|
1357
|
+
nodeId: this.id,
|
|
1358
1358
|
errorMessage: context.__error
|
|
1359
|
-
}
|
|
1360
|
-
filter: { uuid: this.id }
|
|
1359
|
+
}
|
|
1361
1360
|
});
|
|
1362
1361
|
}
|
|
1363
1362
|
this.emitMetricsWithMetadata("meta.node.ended", {
|
|
@@ -2461,6 +2460,29 @@ var Task = class _Task extends SignalEmitter {
|
|
|
2461
2460
|
this.getTag = (context) => getTagCallback(context, this);
|
|
2462
2461
|
this.throttled = true;
|
|
2463
2462
|
}
|
|
2463
|
+
this.attachSignal(
|
|
2464
|
+
"meta.task.destroyed",
|
|
2465
|
+
"meta.task.version_set",
|
|
2466
|
+
"meta.task.output_validation_failed",
|
|
2467
|
+
"meta.task.input_validation_failed",
|
|
2468
|
+
"meta.task.relationship_added",
|
|
2469
|
+
"meta.task.relationship_removed",
|
|
2470
|
+
"meta.task.layer_index_changed",
|
|
2471
|
+
"meta.node.scheduled",
|
|
2472
|
+
"meta.node.mapped",
|
|
2473
|
+
"meta.node.errored",
|
|
2474
|
+
"meta.node.started",
|
|
2475
|
+
"meta.node.ended",
|
|
2476
|
+
"meta.node.mapped",
|
|
2477
|
+
"meta.node.progress",
|
|
2478
|
+
"meta.node.graph_completed",
|
|
2479
|
+
"meta.node.observed_signal",
|
|
2480
|
+
"meta.node.consumed_signal",
|
|
2481
|
+
"meta.node.detected_previous_task_execution",
|
|
2482
|
+
"meta.node.started_routine_execution",
|
|
2483
|
+
"meta.node.ended_routine_execution",
|
|
2484
|
+
"meta.node.routine_execution_progress"
|
|
2485
|
+
);
|
|
2464
2486
|
if (register && !this.isHidden) {
|
|
2465
2487
|
const { __functionString, __getTagCallback } = this.export();
|
|
2466
2488
|
this.emitWithMetadata("meta.task.created", {
|