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