hyperprobe-agent 1.2.26b2__tar.gz → 1.2.26b3__tar.gz
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.
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/PKG-INFO +1 -1
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/agent.py +6 -2
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/broker.py +2 -2
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/PKG-INFO +1 -1
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/setup.py +1 -1
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/LICENSE +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/README.md +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/__init__.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/__init__.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/evaluator.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/logger.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/monitoring_engine.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/probe_output.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/quota.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/safety.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/serializer.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/trace_extractor.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/protos/__init__.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/protos/agent_pb2.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/protos/agent_pb2_grpc.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/SOURCES.txt +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/dependency_links.txt +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/requires.txt +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/top_level.txt +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/setup.cfg +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_agent.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_evaluator.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_fork.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_logger.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_metric_probes.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_multithreading_integration.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_p1_regressions.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_probe_output.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_serializer.py +0 -0
- {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_startup.py +0 -0
|
@@ -469,7 +469,9 @@ class HyperProbeAgent:
|
|
|
469
469
|
try:
|
|
470
470
|
self._sync_with_broker()
|
|
471
471
|
except Exception as e:
|
|
472
|
-
|
|
472
|
+
cause = getattr(e, "__cause__", None)
|
|
473
|
+
msg = f"{e} (cause: {cause})" if cause and str(cause) not in str(e) else str(e)
|
|
474
|
+
logger.error(f"[HyperProbe] Sync loop encountered error: {msg}")
|
|
473
475
|
self.stop_event.wait(self.sync_interval_sec)
|
|
474
476
|
|
|
475
477
|
def _sync_with_broker(self):
|
|
@@ -572,8 +574,10 @@ class HyperProbeAgent:
|
|
|
572
574
|
f"[HyperProbe] Successfully flushed {len(batch)} telemetry events to broker."
|
|
573
575
|
)
|
|
574
576
|
except Exception as e:
|
|
577
|
+
cause = getattr(e, "__cause__", None)
|
|
578
|
+
msg = f"{e} (cause: {cause})" if cause and str(cause) not in str(e) else str(e)
|
|
575
579
|
broker_logger.error(
|
|
576
|
-
f"[HyperProbe] Failed to flush telemetry: {
|
|
580
|
+
f"[HyperProbe] Failed to flush telemetry: {msg}. "
|
|
577
581
|
f"Retaining {len(batch)} events for retry."
|
|
578
582
|
)
|
|
579
583
|
return
|
|
@@ -80,7 +80,7 @@ class BrokerClient:
|
|
|
80
80
|
)
|
|
81
81
|
return response
|
|
82
82
|
except Exception as e:
|
|
83
|
-
raise BrokerTransportError("GetProbes failed") from e
|
|
83
|
+
raise BrokerTransportError(f"GetProbes failed: {e}") from e
|
|
84
84
|
|
|
85
85
|
@staticmethod
|
|
86
86
|
def _to_proto_event(event):
|
|
@@ -128,4 +128,4 @@ class BrokerClient:
|
|
|
128
128
|
)
|
|
129
129
|
return response.finished_probe_ids
|
|
130
130
|
except Exception as e:
|
|
131
|
-
raise BrokerTransportError("ReportTelemetry failed") from e
|
|
131
|
+
raise BrokerTransportError(f"ReportTelemetry failed: {e}") from e
|
|
@@ -7,7 +7,7 @@ long_description = (this_directory / "README.md").read_text() if (this_directory
|
|
|
7
7
|
|
|
8
8
|
setup(
|
|
9
9
|
name="hyperprobe-agent",
|
|
10
|
-
version="1.2.
|
|
10
|
+
version="1.2.26beta3",
|
|
11
11
|
author="Arif, Saksham, Karan",
|
|
12
12
|
author_email="arif@hypertest.co, saksham@hypertest.co, karan@hypertest.co",
|
|
13
13
|
description="Production-grade, non-breaking live debugger and telemetry agent for Python.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/monitoring_engine.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/requires.txt
RENAMED
|
File without changes
|
{hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_multithreading_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|