grpcio-csm-observability 1.76.0rc1__py3-none-any.whl → 1.78.0rc2__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.
- grpc_csm_observability/_csm_observability_plugin.py +2 -2
- {grpcio_csm_observability-1.76.0rc1.dist-info → grpcio_csm_observability-1.78.0rc2.dist-info}/METADATA +13 -11
- grpcio_csm_observability-1.78.0rc2.dist-info/RECORD +7 -0
- {grpcio_csm_observability-1.76.0rc1.dist-info → grpcio_csm_observability-1.78.0rc2.dist-info}/WHEEL +1 -1
- grpcio_csm_observability-1.76.0rc1.dist-info/RECORD +0 -7
- {grpcio_csm_observability-1.76.0rc1.dist-info → grpcio_csm_observability-1.78.0rc2.dist-info/licenses}/LICENSE +0 -0
- {grpcio_csm_observability-1.76.0rc1.dist-info → grpcio_csm_observability-1.78.0rc2.dist-info}/top_level.txt +0 -0
|
@@ -91,7 +91,7 @@ class CSMOpenTelemetryLabelInjector(OpenTelemetryLabelInjector):
|
|
|
91
91
|
# ResourceAttributes.CLOUD_AVAILABILITY_ZONE are called
|
|
92
92
|
# "zones" on Google Cloud.
|
|
93
93
|
location_value = get_str_value_from_resource("cloud.zone", gcp_resource)
|
|
94
|
-
if
|
|
94
|
+
if location_value == UNKNOWN_VALUE:
|
|
95
95
|
location_value = get_str_value_from_resource(
|
|
96
96
|
ResourceAttributes.CLOUD_REGION, gcp_resource
|
|
97
97
|
)
|
|
@@ -149,7 +149,7 @@ class CSMOpenTelemetryLabelInjector(OpenTelemetryLabelInjector):
|
|
|
149
149
|
def deserialize_labels(labels: Dict[str, AnyStr]) -> Dict[str, AnyStr]:
|
|
150
150
|
deserialized_labels = {}
|
|
151
151
|
for key, value in labels.items():
|
|
152
|
-
if "XEnvoyPeerMetadata"
|
|
152
|
+
if key == "XEnvoyPeerMetadata":
|
|
153
153
|
pb_struct = struct_pb2.Struct()
|
|
154
154
|
pb_struct.ParseFromString(value)
|
|
155
155
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: grpcio-csm-observability
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.78.0rc2
|
|
4
4
|
Summary: gRPC Python CSM observability package
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
License: Apache License 2.0
|
|
5
|
+
Author-email: The gRPC Authors <grpc-io@googlegroups.com>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://grpc.io
|
|
9
8
|
Project-URL: Source Code, https://github.com/grpc/grpc/tree/master/src/python/grpcio_csm_observability
|
|
10
9
|
Project-URL: Bug Tracker, https://github.com/grpc/grpc/issues
|
|
11
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
11
|
Classifier: Programming Language :: Python
|
|
13
12
|
Classifier: Programming Language :: Python :: 3
|
|
14
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
13
|
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/x-rst
|
|
16
15
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: opentelemetry-sdk
|
|
18
|
-
Requires-Dist: opentelemetry-resourcedetector-gcp
|
|
19
|
-
Requires-Dist: grpcio
|
|
20
|
-
Requires-Dist: protobuf
|
|
16
|
+
Requires-Dist: opentelemetry-sdk>=1.25.0
|
|
17
|
+
Requires-Dist: opentelemetry-resourcedetector-gcp>=1.6.0a0
|
|
18
|
+
Requires-Dist: grpcio==1.78.0rc2
|
|
19
|
+
Requires-Dist: protobuf<7.0.0,>=6.31.1
|
|
20
|
+
Dynamic: license-file
|
|
21
|
+
Dynamic: requires-dist
|
|
22
|
+
Dynamic: requires-python
|
|
21
23
|
|
|
22
24
|
gRPC Python CSM Observability
|
|
23
25
|
=============================
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
grpc_csm_observability/__init__.py,sha256=CRuqnwMQmI9pSQdnTnI32xReU-7PLlB45hbgXWycEXw,709
|
|
2
|
+
grpc_csm_observability/_csm_observability_plugin.py,sha256=gE3lYO8WaWbBUZGcgV37rdD7DS096UOo5ovInxbCd8U,11499
|
|
3
|
+
grpcio_csm_observability-1.78.0rc2.dist-info/licenses/LICENSE,sha256=WQGY4_MF8sNH_eZNY3xlSSu-9VTbbINk4UnNN143l-4,29687
|
|
4
|
+
grpcio_csm_observability-1.78.0rc2.dist-info/METADATA,sha256=9GojSU-kOLZSS3x8eQZUpXnJSGFtXxpMv-6L0jHuVSE,3342
|
|
5
|
+
grpcio_csm_observability-1.78.0rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
+
grpcio_csm_observability-1.78.0rc2.dist-info/top_level.txt,sha256=FSgLI8hb_KL25S49JgyLTjHgdxM3PpcrkWQrbOQiaB8,23
|
|
7
|
+
grpcio_csm_observability-1.78.0rc2.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
grpc_csm_observability/__init__.py,sha256=CRuqnwMQmI9pSQdnTnI32xReU-7PLlB45hbgXWycEXw,709
|
|
2
|
-
grpc_csm_observability/_csm_observability_plugin.py,sha256=opa-hlTPOGdkpH98qISfIEDHeaVhlK_mgOumjZ16oS8,11499
|
|
3
|
-
grpcio_csm_observability-1.76.0rc1.dist-info/LICENSE,sha256=WQGY4_MF8sNH_eZNY3xlSSu-9VTbbINk4UnNN143l-4,29687
|
|
4
|
-
grpcio_csm_observability-1.76.0rc1.dist-info/METADATA,sha256=wh2V5uk4RzaHrKWGqlD6u0zdfdSr-jP-hO_SMN5Mc2E,3293
|
|
5
|
-
grpcio_csm_observability-1.76.0rc1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
6
|
-
grpcio_csm_observability-1.76.0rc1.dist-info/top_level.txt,sha256=FSgLI8hb_KL25S49JgyLTjHgdxM3PpcrkWQrbOQiaB8,23
|
|
7
|
-
grpcio_csm_observability-1.76.0rc1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|