vnai 2.0.8__tar.gz → 2.0.9__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.
- {vnai-2.0.8 → vnai-2.0.9}/PKG-INFO +1 -1
- {vnai-2.0.8 → vnai-2.0.9}/pyproject.toml +1 -1
- {vnai-2.0.8 → vnai-2.0.9}/vnai/beam/metrics.py +1 -1
- {vnai-2.0.8 → vnai-2.0.9}/vnai.egg-info/PKG-INFO +1 -1
- {vnai-2.0.8 → vnai-2.0.9}/README.md +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/setup.cfg +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/__init__.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/beam/__init__.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/beam/pulse.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/beam/quota.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/flow/__init__.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/flow/queue.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/flow/relay.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/scope/__init__.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/scope/profile.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/scope/promo.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai/scope/state.py +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai.egg-info/SOURCES.txt +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai.egg-info/dependency_links.txt +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai.egg-info/requires.txt +0 -0
- {vnai-2.0.8 → vnai-2.0.9}/vnai.egg-info/top_level.txt +0 -0
@@ -17,7 +17,7 @@ class Collector:
|
|
17
17
|
with cls._lock:
|
18
18
|
if cls._instance is _B:cls._instance=super(Collector,cls).__new__(cls);cls._instance._initialize()
|
19
19
|
return cls._instance
|
20
|
-
def _initialize(self):self.metrics={_A:[],_H:[],_I:[],_D:[]};self.thresholds={_J:50,'error_threshold':.1,'performance_threshold':5.};self.function_count=0;self.colab_auth_triggered=_E;self.max_metric_length=200
|
20
|
+
def _initialize(self):self.metrics={_A:[],_H:[],_I:[],_D:[]};self.thresholds={_J:50,'error_threshold':.1,'performance_threshold':5.};self.function_count=0;self.colab_auth_triggered=_E;self.max_metric_length=200;self._last_record_time={}
|
21
21
|
def record(self,metric_type,data,priority=_B):
|
22
22
|
A='high'
|
23
23
|
if not isinstance(data,dict):data={'value':str(data)}
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|