osiris-agent 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl
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.
- osiris_agent/agent_node.py +4 -1
- {osiris_agent-0.1.1.dist-info → osiris_agent-0.1.2.dist-info}/METADATA +1 -1
- osiris_agent-0.1.2.dist-info/RECORD +8 -0
- osiris_agent-0.1.1.dist-info/RECORD +0 -8
- {osiris_agent-0.1.1.dist-info → osiris_agent-0.1.2.dist-info}/WHEEL +0 -0
- {osiris_agent-0.1.1.dist-info → osiris_agent-0.1.2.dist-info}/entry_points.txt +0 -0
- {osiris_agent-0.1.1.dist-info → osiris_agent-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {osiris_agent-0.1.1.dist-info → osiris_agent-0.1.2.dist-info}/top_level.txt +0 -0
osiris_agent/agent_node.py
CHANGED
|
@@ -938,7 +938,10 @@ class WebBridge(Node):
|
|
|
938
938
|
def _get_telemetry_snapshot(self):
|
|
939
939
|
"""Return a snapshot of system telemetry (CPU, RAM, disk)."""
|
|
940
940
|
return {
|
|
941
|
-
'cpu':
|
|
941
|
+
'cpu': {
|
|
942
|
+
'percent': psutil.cpu_percent(interval=None),
|
|
943
|
+
'cores': psutil.cpu_count(logical=False),
|
|
944
|
+
},
|
|
942
945
|
'ram': {
|
|
943
946
|
'percent': psutil.virtual_memory().percent,
|
|
944
947
|
'used_mb': psutil.virtual_memory().used / (1024 * 1024),
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
osiris_agent/__init__.py,sha256=E0YxGzSMUelxIPB6kRPKL-2Da_QaYCZeOd8fEaLtQ5c,73
|
|
2
|
+
osiris_agent/agent_node.py,sha256=4412uLiIWPkv0XikSwOoVxJJmNvJIWRerfTQmdQfcuo,38740
|
|
3
|
+
osiris_agent-0.1.2.dist-info/licenses/LICENSE,sha256=tv_rYfXPsDuLDPIrpAFFZfgaO15H-gz89GW1TfyCQ48,10758
|
|
4
|
+
osiris_agent-0.1.2.dist-info/METADATA,sha256=c9rX-hOlaZChpJySHvOg6VNCI0gy4mqbXIjbh9tMhgQ,2681
|
|
5
|
+
osiris_agent-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
+
osiris_agent-0.1.2.dist-info/entry_points.txt,sha256=ff4USKDLj8unIsvb7iQrVvfhP52Fhp3QAR5AchypnuE,60
|
|
7
|
+
osiris_agent-0.1.2.dist-info/top_level.txt,sha256=qT-C0LRSrwlNjTuA7bVsTmwYJzhONP18wuyAXwUBZnU,13
|
|
8
|
+
osiris_agent-0.1.2.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
osiris_agent/__init__.py,sha256=E0YxGzSMUelxIPB6kRPKL-2Da_QaYCZeOd8fEaLtQ5c,73
|
|
2
|
-
osiris_agent/agent_node.py,sha256=JkMC1KH--hwuG3Tlu_Lu34mFHvyrrgV7WKtRAYhVlQ4,38638
|
|
3
|
-
osiris_agent-0.1.1.dist-info/licenses/LICENSE,sha256=tv_rYfXPsDuLDPIrpAFFZfgaO15H-gz89GW1TfyCQ48,10758
|
|
4
|
-
osiris_agent-0.1.1.dist-info/METADATA,sha256=dppfgFcCSMdfZGsTgGxZ9r4YXQyvczRdPDZQqnQuNsU,2681
|
|
5
|
-
osiris_agent-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
-
osiris_agent-0.1.1.dist-info/entry_points.txt,sha256=ff4USKDLj8unIsvb7iQrVvfhP52Fhp3QAR5AchypnuE,60
|
|
7
|
-
osiris_agent-0.1.1.dist-info/top_level.txt,sha256=qT-C0LRSrwlNjTuA7bVsTmwYJzhONP18wuyAXwUBZnU,13
|
|
8
|
-
osiris_agent-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|