@camstack/addon-pipeline-orchestrator 1.1.30 → 1.1.31

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 CHANGED
@@ -24830,8 +24830,8 @@ var PipelineWatchdog = class {
24830
24830
  const now = this.deps.now();
24831
24831
  for (const cam of this.cameras.values()) {
24832
24832
  const { line, stalled, recoveries } = this.evaluate(cam, now);
24833
- if (stalled) this.deps.logger.warn(line);
24834
- else this.deps.logger.info(line);
24833
+ if (stalled) this.deps.logger.warn(line, { tags: { deviceId: cam.deviceId } });
24834
+ else this.deps.logger.info(line, { tags: { deviceId: cam.deviceId } });
24835
24835
  for (const r of recoveries) {
24836
24836
  const rt = this.state.get(cam.deviceId)?.get(r.stage);
24837
24837
  if (rt) {
@@ -25676,7 +25676,10 @@ var PipelineOrchestratorAddon = class PipelineOrchestratorAddon extends BaseAddo
25676
25676
  if (!isEvent(event, EventCategory.PipelineInferenceResult)) return;
25677
25677
  this.handleInferenceResult(event.data).catch((err) => {
25678
25678
  const msg = errMsg(err);
25679
- this.ctx.logger.error("PipelineInferenceResult post-processing failed", { meta: { error: msg } });
25679
+ this.ctx.logger.error("PipelineInferenceResult post-processing failed", {
25680
+ tags: { deviceId: event.data.deviceId },
25681
+ meta: { error: msg }
25682
+ });
25680
25683
  });
25681
25684
  });
25682
25685
  const PROFILE_SLOTS_DEBOUNCE_MS = 200;
package/dist/index.mjs CHANGED
@@ -24826,8 +24826,8 @@ var PipelineWatchdog = class {
24826
24826
  const now = this.deps.now();
24827
24827
  for (const cam of this.cameras.values()) {
24828
24828
  const { line, stalled, recoveries } = this.evaluate(cam, now);
24829
- if (stalled) this.deps.logger.warn(line);
24830
- else this.deps.logger.info(line);
24829
+ if (stalled) this.deps.logger.warn(line, { tags: { deviceId: cam.deviceId } });
24830
+ else this.deps.logger.info(line, { tags: { deviceId: cam.deviceId } });
24831
24831
  for (const r of recoveries) {
24832
24832
  const rt = this.state.get(cam.deviceId)?.get(r.stage);
24833
24833
  if (rt) {
@@ -25672,7 +25672,10 @@ var PipelineOrchestratorAddon = class PipelineOrchestratorAddon extends BaseAddo
25672
25672
  if (!isEvent(event, EventCategory.PipelineInferenceResult)) return;
25673
25673
  this.handleInferenceResult(event.data).catch((err) => {
25674
25674
  const msg = errMsg(err);
25675
- this.ctx.logger.error("PipelineInferenceResult post-processing failed", { meta: { error: msg } });
25675
+ this.ctx.logger.error("PipelineInferenceResult post-processing failed", {
25676
+ tags: { deviceId: event.data.deviceId },
25677
+ meta: { error: msg }
25678
+ });
25676
25679
  });
25677
25680
  });
25678
25681
  const PROFILE_SLOTS_DEBOUNCE_MS = 200;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-pipeline-orchestrator",
3
- "version": "1.1.30",
3
+ "version": "1.1.31",
4
4
  "description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
5
5
  "keywords": [
6
6
  "camstack",