@inflexa-ai/harness 0.35.4 → 0.35.5
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/lib/metrics.d.ts +2 -2
- package/dist/lib/metrics.js +4 -4
- package/package.json +1 -1
package/dist/lib/metrics.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Instruments:
|
|
5
5
|
* - cortex.run.completed{status, workflow} — counter, one per run that reached a terminal status
|
|
6
|
-
* - cortex.run.
|
|
6
|
+
* - cortex.run.duration{status, workflow} — histogram, start to terminal status
|
|
7
7
|
* - cortex.step.completed{status, agent_id} — counter, one per executed step that settled
|
|
8
|
-
* - cortex.step.
|
|
8
|
+
* - cortex.step.duration{status, agent_id} — histogram, step start to its terminal ledger write
|
|
9
9
|
* - cortex.artifact.reconcile.dropped{agent_id} — counter for missing manifest entries
|
|
10
10
|
* - cortex.artifact.reconcile.input_dropped{agent_id, reason} — counter for lineage input drops
|
|
11
11
|
*
|
package/dist/lib/metrics.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Instruments:
|
|
5
5
|
* - cortex.run.completed{status, workflow} — counter, one per run that reached a terminal status
|
|
6
|
-
* - cortex.run.
|
|
6
|
+
* - cortex.run.duration{status, workflow} — histogram, start to terminal status
|
|
7
7
|
* - cortex.step.completed{status, agent_id} — counter, one per executed step that settled
|
|
8
|
-
* - cortex.step.
|
|
8
|
+
* - cortex.step.duration{status, agent_id} — histogram, step start to its terminal ledger write
|
|
9
9
|
* - cortex.artifact.reconcile.dropped{agent_id} — counter for missing manifest entries
|
|
10
10
|
* - cortex.artifact.reconcile.input_dropped{agent_id, reason} — counter for lineage input drops
|
|
11
11
|
*
|
|
@@ -41,7 +41,7 @@ function getInstruments() {
|
|
|
41
41
|
description: "Runs that reached a terminal status. Tagged by status, workflow.",
|
|
42
42
|
unit: "{run}",
|
|
43
43
|
}),
|
|
44
|
-
runDuration: meter.createHistogram("cortex.run.
|
|
44
|
+
runDuration: meter.createHistogram("cortex.run.duration", {
|
|
45
45
|
description: "Run duration from its start to its terminal status. Tagged by status, workflow.",
|
|
46
46
|
unit: "ms",
|
|
47
47
|
advice,
|
|
@@ -50,7 +50,7 @@ function getInstruments() {
|
|
|
50
50
|
description: "Executed steps that settled. Tagged by status, agent_id.",
|
|
51
51
|
unit: "{step}",
|
|
52
52
|
}),
|
|
53
|
-
stepDuration: meter.createHistogram("cortex.step.
|
|
53
|
+
stepDuration: meter.createHistogram("cortex.step.duration", {
|
|
54
54
|
description: "Step duration from its start to its terminal ledger write. Tagged by status, agent_id.",
|
|
55
55
|
unit: "ms",
|
|
56
56
|
advice,
|
package/package.json
CHANGED