omnata-plugin-runtime 0.11.6a323__py3-none-any.whl → 0.11.7a324__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.
@@ -2333,7 +2333,7 @@ def __managed_inbound_processing_worker(
2333
2333
  sync_request: InboundSyncRequest = cast(
2334
2334
  InboundSyncRequest, plugin_class_obj._sync_request
2335
2335
  ) # pylint: disable=protected-access
2336
- stream_duration_counter = meter.create_histogram(
2336
+ stream_duration_gauge = meter.create_gauge(
2337
2337
  name="omnata.sync_run.stream_duration",
2338
2338
  description="The duration of stream processing",
2339
2339
  unit="s",
@@ -2372,8 +2372,8 @@ def __managed_inbound_processing_worker(
2372
2372
  extra={'stream_name':stream.stream_name})
2373
2373
  finally:
2374
2374
  duration = time.time() - start_time
2375
- stream_duration_counter.record(
2376
- duration,
2375
+ stream_duration_gauge.set(
2376
+ amount=duration,
2377
2377
  attributes={
2378
2378
  "stream_name": stream.stream_name,
2379
2379
  "sync_run_id": str(sync_request._run_id),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.11.6a323
3
+ Version: 0.11.7a324
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  License-File: LICENSE
6
6
  Author: James Weakley
@@ -4,10 +4,10 @@ omnata_plugin_runtime/configuration.py,sha256=SffokJfgvy6V3kUsoEjXcK3GdNgHo6U3mg
4
4
  omnata_plugin_runtime/forms.py,sha256=Lrbr3otsFDrvHWJw7v-slsW4PvEHJ6BG1Yl8oaJfiDo,20529
5
5
  omnata_plugin_runtime/json_schema.py,sha256=ZfHMG-XSJBE9Smt33Y6GPpl5skF7pB1TRCf9AvWuw-Y,59705
6
6
  omnata_plugin_runtime/logging.py,sha256=qUtRA9syQNnjfJZHA2W18K282voXX6vHwrBIPOBo1n8,4521
7
- omnata_plugin_runtime/omnata_plugin.py,sha256=GTFxri5FIkZhOI70FQpeLoKRo3zOQlqo2dUUUTaDppE,143134
7
+ omnata_plugin_runtime/omnata_plugin.py,sha256=3D0VkrEXoCaxuQarf7p_YX35AfwS-lH1ZvqfEE-iOQk,143130
8
8
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=_1pDLov3iQorGmfcae8Sw2bVjxw1vYeowBaKKNzRclQ,32629
9
9
  omnata_plugin_runtime/rate_limiting.py,sha256=qpr5esU4Ks8hMzuMpSR3gLFdor2ZUXYWCjmsQH_K6lQ,25882
10
- omnata_plugin_runtime-0.11.6a323.dist-info/METADATA,sha256=hrxfalJXwUkafbhXZbNkTrt0Jq6EBx1fbAnIWglAEfQ,2183
11
- omnata_plugin_runtime-0.11.6a323.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
12
- omnata_plugin_runtime-0.11.6a323.dist-info/licenses/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
13
- omnata_plugin_runtime-0.11.6a323.dist-info/RECORD,,
10
+ omnata_plugin_runtime-0.11.7a324.dist-info/METADATA,sha256=sYs4i8JrMvlgTi0gudwjNDwcDPYUMa9jwB5U4GmLSVs,2183
11
+ omnata_plugin_runtime-0.11.7a324.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
12
+ omnata_plugin_runtime-0.11.7a324.dist-info/licenses/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
13
+ omnata_plugin_runtime-0.11.7a324.dist-info/RECORD,,