grpcio-csm-observability 1.76.0rc1__py3-none-any.whl → 1.78.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.
@@ -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 UNKNOWN_VALUE == location_value:
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" == key:
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
1
+ Metadata-Version: 2.4
2
2
  Name: grpcio-csm-observability
3
- Version: 1.76.0rc1
3
+ Version: 1.78.0
4
4
  Summary: gRPC Python CSM observability package
5
- Home-page: https://grpc.io
6
- Author: The gRPC Authors
7
- Author-email: grpc-io@googlegroups.com
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 >=1.25.0
18
- Requires-Dist: opentelemetry-resourcedetector-gcp >=1.6.0a0
19
- Requires-Dist: grpcio ==1.76.0rc1
20
- Requires-Dist: protobuf <7.0.0,>=6.31.1
16
+ Requires-Dist: opentelemetry-sdk>=1.25.0
17
+ Requires-Dist: opentelemetry-resourcedetector-gcp>=1.6.0a0
18
+ Requires-Dist: grpcio==1.78.0
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.0.dist-info/licenses/LICENSE,sha256=WQGY4_MF8sNH_eZNY3xlSSu-9VTbbINk4UnNN143l-4,29687
4
+ grpcio_csm_observability-1.78.0.dist-info/METADATA,sha256=NtZjtAqQYSaLtxbdFm8a_bxC5SuFmYISbyhZDKTB6ag,3336
5
+ grpcio_csm_observability-1.78.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
6
+ grpcio_csm_observability-1.78.0.dist-info/top_level.txt,sha256=FSgLI8hb_KL25S49JgyLTjHgdxM3PpcrkWQrbOQiaB8,23
7
+ grpcio_csm_observability-1.78.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -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,,