nucliadb-telemetry 6.4.0.post4176__py3-none-any.whl → 6.4.0.post4192__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.
Potentially problematic release.
This version of nucliadb-telemetry might be problematic. Click here for more details.
- nucliadb_telemetry/jetstream.py +3 -3
- {nucliadb_telemetry-6.4.0.post4176.dist-info → nucliadb_telemetry-6.4.0.post4192.dist-info}/METADATA +1 -1
- {nucliadb_telemetry-6.4.0.post4176.dist-info → nucliadb_telemetry-6.4.0.post4192.dist-info}/RECORD +5 -5
- {nucliadb_telemetry-6.4.0.post4176.dist-info → nucliadb_telemetry-6.4.0.post4192.dist-info}/WHEEL +1 -1
- {nucliadb_telemetry-6.4.0.post4176.dist-info → nucliadb_telemetry-6.4.0.post4192.dist-info}/top_level.txt +0 -0
nucliadb_telemetry/jetstream.py
CHANGED
|
@@ -152,8 +152,8 @@ class JetStreamContextTelemetry:
|
|
|
152
152
|
):
|
|
153
153
|
tracer = self.tracer_provider.get_tracer(f"{self.service_name}_js_publisher")
|
|
154
154
|
headers = {} if headers is None else headers
|
|
155
|
-
inject(headers)
|
|
156
155
|
with start_span_message_publisher(tracer, subject) as span:
|
|
156
|
+
inject(headers)
|
|
157
157
|
try:
|
|
158
158
|
result = await self.js.publish(subject, body, headers=headers, **kwargs)
|
|
159
159
|
msg_sent_counter.inc({"subject": subject, "status": metrics.OK})
|
|
@@ -261,9 +261,9 @@ class NatsClientTelemetry:
|
|
|
261
261
|
) -> None:
|
|
262
262
|
tracer = self.tracer_provider.get_tracer(f"{self.service_name}_nc_publisher")
|
|
263
263
|
headers = {} if headers is None else headers
|
|
264
|
-
inject(headers)
|
|
265
264
|
|
|
266
265
|
with start_span_message_publisher(tracer, subject) as span:
|
|
266
|
+
inject(headers)
|
|
267
267
|
try:
|
|
268
268
|
await self.nc.publish(subject, body, reply, headers)
|
|
269
269
|
msg_sent_counter.inc({"subject": subject, "status": metrics.OK})
|
|
@@ -281,9 +281,9 @@ class NatsClientTelemetry:
|
|
|
281
281
|
headers: Optional[Dict[str, Any]] = None,
|
|
282
282
|
) -> Msg:
|
|
283
283
|
headers = {} if headers is None else headers
|
|
284
|
-
inject(headers)
|
|
285
284
|
tracer = self.tracer_provider.get_tracer(f"{self.service_name}_nc_request")
|
|
286
285
|
with start_span_message_publisher(tracer, subject) as span:
|
|
286
|
+
inject(headers)
|
|
287
287
|
try:
|
|
288
288
|
result = await self.nc.request(subject, payload, timeout, old_style, headers)
|
|
289
289
|
except Exception as error:
|
{nucliadb_telemetry-6.4.0.post4176.dist-info → nucliadb_telemetry-6.4.0.post4192.dist-info}/RECORD
RENAMED
|
@@ -7,7 +7,7 @@ nucliadb_telemetry/grpc.py,sha256=cNJRJLr0aRedKr5V_ufGqeidnMlBouML3QbFKkugTqg,15
|
|
|
7
7
|
nucliadb_telemetry/grpc_metrics.py,sha256=L2XMcJDxioNUYPX_IbKl_zvrG8uOFpF_a67c6yJq-Jw,5174
|
|
8
8
|
nucliadb_telemetry/grpc_sentry.py,sha256=3eS_DVIX5MzvbJBkykf8JyZUf1b_b9w1KLhjoiW7oV0,2659
|
|
9
9
|
nucliadb_telemetry/jaeger.py,sha256=HMQK8x_oaol5tCx3hCjaMG5Uzvsy_WWhKnD-FEZoYA4,7036
|
|
10
|
-
nucliadb_telemetry/jetstream.py,sha256=
|
|
10
|
+
nucliadb_telemetry/jetstream.py,sha256=hhlAv0sEottFjRp16vjwf2aWQqsoGVttVgwjzh1jNVs,12053
|
|
11
11
|
nucliadb_telemetry/logs.py,sha256=ag1e7tKEoNFgB1FuAmyTxdIHtTFwOJlGxPl2s1bhUic,9311
|
|
12
12
|
nucliadb_telemetry/metrics.py,sha256=euexqkmlZip6QFbMfvJW1fSuha96J4ZHnMWixeVJnAs,8652
|
|
13
13
|
nucliadb_telemetry/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -30,7 +30,7 @@ nucliadb_telemetry/tests/grpc/helloworld_pb2.py,sha256=ht4dmi0pAy6qDrwcjkbtSf_hO
|
|
|
30
30
|
nucliadb_telemetry/tests/grpc/helloworld_pb2.pyi,sha256=mBZCQE6z7riQw6fOegJgZ5lHmXqO23_zxL8iQMqSqms,1191
|
|
31
31
|
nucliadb_telemetry/tests/grpc/helloworld_pb2_grpc.py,sha256=_jxUNxl4Fx-JztK9RO5R6osjNP2sVNVPAxLnmczEYOc,2677
|
|
32
32
|
nucliadb_telemetry/tests/grpc/helloworld_pb2_grpc.pyi,sha256=Y6teCx-PhPU-rI6w5ItLBKaTb34FLpngPnuDVWtNve4,958
|
|
33
|
-
nucliadb_telemetry-6.4.0.
|
|
34
|
-
nucliadb_telemetry-6.4.0.
|
|
35
|
-
nucliadb_telemetry-6.4.0.
|
|
36
|
-
nucliadb_telemetry-6.4.0.
|
|
33
|
+
nucliadb_telemetry-6.4.0.post4192.dist-info/METADATA,sha256=xyP0Xeuuz8q2P684vPZLaytWLqttXmE-9Bcbn6pJ-Pk,11057
|
|
34
|
+
nucliadb_telemetry-6.4.0.post4192.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
35
|
+
nucliadb_telemetry-6.4.0.post4192.dist-info/top_level.txt,sha256=3qEHI_5ttqQIL2gkNYwSlKsFyBBiEzDiIy9UKISzOaQ,19
|
|
36
|
+
nucliadb_telemetry-6.4.0.post4192.dist-info/RECORD,,
|
|
File without changes
|