@nsshunt/stsrunnerframework 0.0.21 → 0.0.23
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/stsrunnerframework.mjs +11 -3
- package/dist/stsrunnerframework.mjs.map +1 -1
- package/dist/stsrunnerframework.umd.js +11 -3
- package/dist/stsrunnerframework.umd.js.map +1 -1
- package/package.json +4 -4
- package/types/runnerframework/commonTypes.d.ts +1 -1
- package/types/runnerframework/commonTypes.d.ts.map +1 -1
- package/types/runnerframework/workerManager.d.ts.map +1 -1
|
@@ -1785,13 +1785,13 @@ class TelemetryProcessor {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
if (telemetry.authenticationErrorCount) {
|
|
1787
1787
|
publishInstrumentController.UpdateInstrument(Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE, {
|
|
1788
|
-
val: telemetry.
|
|
1788
|
+
val: telemetry.authenticationErrorCount
|
|
1789
1789
|
});
|
|
1790
1790
|
update = true;
|
|
1791
1791
|
}
|
|
1792
1792
|
if (telemetry.authenticationRetryCount) {
|
|
1793
1793
|
publishInstrumentController.UpdateInstrument(Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE, {
|
|
1794
|
-
val: telemetry.
|
|
1794
|
+
val: telemetry.authenticationRetryCount
|
|
1795
1795
|
});
|
|
1796
1796
|
update = true;
|
|
1797
1797
|
}
|
|
@@ -1979,6 +1979,14 @@ class STSWorkerManager {
|
|
|
1979
1979
|
runnerEx.instrumentData.message = [];
|
|
1980
1980
|
}
|
|
1981
1981
|
__privateGet(this, _telemetryProcessor).ProcessTelemetry(runnerEx.publishInstrumentController, runnerEx.instrumentData);
|
|
1982
|
+
if (workerEx.runnersEvents[runner.id]) {
|
|
1983
|
+
const runnersEvents = workerEx.runnersEvents[runner.id];
|
|
1984
|
+
runnersEvents.forEach((ev) => {
|
|
1985
|
+
if (ev.eventName.localeCompare("Telemetry") === 0) {
|
|
1986
|
+
ev.cb(runnerEx.instrumentData);
|
|
1987
|
+
}
|
|
1988
|
+
});
|
|
1989
|
+
}
|
|
1982
1990
|
}
|
|
1983
1991
|
});
|
|
1984
1992
|
__privateAdd(this, _ProcessCompleted, (workerEx, payloadContents) => {
|
|
@@ -1987,7 +1995,7 @@ class STSWorkerManager {
|
|
|
1987
1995
|
const runnersEvents = workerEx.runnersEvents[runner.id];
|
|
1988
1996
|
runnersEvents.forEach((ev) => {
|
|
1989
1997
|
if (ev.eventName.localeCompare("Completed") === 0) {
|
|
1990
|
-
ev.cb();
|
|
1998
|
+
ev.cb(/* @__PURE__ */ new Date());
|
|
1991
1999
|
}
|
|
1992
2000
|
});
|
|
1993
2001
|
}
|