esd-services-api-client 2.6.3a160.dev2__py3-none-any.whl → 2.7.0__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.
@@ -17,4 +17,4 @@
17
17
  Root index.
18
18
  """
19
19
 
20
- __version__ = "0.0.0"
20
+ __version__ = "2.7.0"
@@ -437,16 +437,16 @@ class Nexus:
437
437
  algorithm=algorithm.__class__.alias().upper(),
438
438
  version=__version__,
439
439
  )
440
- metrics_provider.count("failed_runs", 1)
441
- metrics_provider.count("successful_runs", 0)
440
+ metrics_provider.gauge("failed_runs", 1)
441
+ metrics_provider.gauge("successful_runs", 0)
442
442
 
443
443
  await self._submit_result(
444
444
  self._algorithm_run_task.result() if not ex else None,
445
445
  self._algorithm_run_task.exception(),
446
446
  )
447
447
 
448
- metrics_provider.count("failed_runs", 0)
449
- metrics_provider.count("successful_runs", 1)
448
+ metrics_provider.gauge("failed_runs", 0)
449
+ metrics_provider.gauge("successful_runs", 1)
450
450
 
451
451
  # record telemetry
452
452
  root_logger.info(
@@ -471,12 +471,12 @@ class Nexus:
471
471
  on_complete_tasks, return_when=asyncio.FIRST_EXCEPTION
472
472
  )
473
473
  if len(pending) > 0:
474
- metrics_provider.count("telemetry_reports_incomplete", 1)
474
+ metrics_provider.gauge("telemetry_reports_incomplete", 1)
475
475
  root_logger.warning(
476
476
  "Some post-processing operations did not complete or failed. Please review application logs for more information"
477
477
  )
478
478
  else:
479
- metrics_provider.count("telemetry_reports_incomplete", 0)
479
+ metrics_provider.gauge("telemetry_reports_incomplete", 0)
480
480
 
481
481
  for done_on_complete_task in done:
482
482
  on_complete_task_exc = done_on_complete_task.exception()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: esd-services-api-client
3
- Version: 2.6.3a160.dev2
3
+ Version: 2.7.0
4
4
  Summary: Python clients for ESD services
5
5
  License: Apache 2.0
6
6
  Author: ECCO Sneaks & Data
@@ -1,5 +1,4 @@
1
- esd_services_api_client/__init__.py,sha256=4LskDwFuAFMOjHtN3_-71G_VZ4MNfjMJ7wX2cHYxV-0,648
2
- esd_services_api_client/_version.py,sha256=DE-5Z1ItPGxhQTEw8TvhkK60jjmOXcehHDnwOJ6hD7w,32
1
+ esd_services_api_client/__init__.py,sha256=-F6Wz_CzgP5mmxUSgrFESuaib_Nj1RbFjqeI6vhu2E0,648
3
2
  esd_services_api_client/beast/__init__.py,sha256=zNhXcHSP5w4P9quM1XP4oXVJEccvC_VScG41TZ0GzZ8,723
4
3
  esd_services_api_client/beast/v3/__init__.py,sha256=FtumtInoDyCCRE424Llqv8QZLRuwXzj-smyfu1od1nc,754
5
4
  esd_services_api_client/beast/v3/_connector.py,sha256=VqxiCzJWKERh42aZAIphzmOEG5cdOcKM0DQzG7eQ_-8,11479
@@ -34,7 +33,7 @@ esd_services_api_client/nexus/algorithms/recursive.py,sha256=uaCCl4q-st_KqbcmkdO
34
33
  esd_services_api_client/nexus/configurations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
34
  esd_services_api_client/nexus/configurations/algorithm_configuration.py,sha256=eE7diX2PATCGkmqhvFOcZwXrr6vns4fqnJGmgNvhhZM,1091
36
35
  esd_services_api_client/nexus/core/__init__.py,sha256=sOgKKq3_LZGbLmQMtMS7lDw2hv027qownTmNIRV0BB8,627
37
- esd_services_api_client/nexus/core/app_core.py,sha256=44Rn5A6-elxUe61Usf8fApaB-uV2hbPe8lTF20f8Ix4,17903
36
+ esd_services_api_client/nexus/core/app_core.py,sha256=YIfCQ3arplJcK2jY-rDhvLgE3YVnGk_iuWapi-Cqs4s,17903
38
37
  esd_services_api_client/nexus/core/app_dependencies.py,sha256=-s_jtEdw25Jef6dMCtIqfIQnAPmzP7fvrB1oq4GSjwA,8042
39
38
  esd_services_api_client/nexus/core/serializers.py,sha256=0IfXadbR3G0mowqRQlIOP2LFjNs-P-Tr42Ia2G-ehtg,2275
40
39
  esd_services_api_client/nexus/exceptions/__init__.py,sha256=feN33VdqB5-2bD9aJesJl_OlsKrNNo3hZCnQgKuaU9k,696
@@ -52,7 +51,7 @@ esd_services_api_client/nexus/modules/mlflow_module.py,sha256=d4y8XetGF37md4dEpE
52
51
  esd_services_api_client/nexus/telemetry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
52
  esd_services_api_client/nexus/telemetry/recorder.py,sha256=-shxk2vYDTafJ0U3CzkHxIHBQtxVJ1ZNI4ST0p1YV2g,4801
54
53
  esd_services_api_client/nexus/telemetry/user_telemetry_recorder.py,sha256=E4bj0N4QDo9kSxf1XMSplCfSG29iDKg-UgrRY-nq_XE,5225
55
- esd_services_api_client-2.6.3a160.dev2.dist-info/LICENSE,sha256=0gS6zXsPp8qZhzi1xaGCIYPzb_0e8on7HCeFJe8fOpw,10693
56
- esd_services_api_client-2.6.3a160.dev2.dist-info/METADATA,sha256=OGIsocSQqj5Bp9GsCfYueQ5QuEDILd6X2uN7Q7wd9tI,1071
57
- esd_services_api_client-2.6.3a160.dev2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
58
- esd_services_api_client-2.6.3a160.dev2.dist-info/RECORD,,
54
+ esd_services_api_client-2.7.0.dist-info/LICENSE,sha256=0gS6zXsPp8qZhzi1xaGCIYPzb_0e8on7HCeFJe8fOpw,10693
55
+ esd_services_api_client-2.7.0.dist-info/METADATA,sha256=v08wrBQCE9KXIer_wCBHe93iTKGL0dKUgLuXwF5BtJE,1062
56
+ esd_services_api_client-2.7.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
57
+ esd_services_api_client-2.7.0.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- __version__ = 'v2.6.3a160.dev2'