aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorXuan Wang <xuanwn@google.com>2024-01-04 10:42:36 -0800
committerCopybara-Service <copybara-worker@google.com>2024-01-04 10:45:14 -0800
commit48cf940fd1d41951969a05208cbd5a5c5469aae8 (patch)
treeef6e32d4056e26f7c8a08dc6d17916c8b059dad8 /templates
parent808886375da2a2e5cbe13b40fafec9d00a8ab6ed (diff)
downloadgrpc-grpc-48cf940fd1d41951969a05208cbd5a5c5469aae8.tar.gz
[Python Otel] Re-apply Otel (#35439)
This reverts commit 96b9e8d3e3fd93ed4c6285c2c5b60efc621a6f93. [Implement OpenTelemetry PR](https://github.com/grpc/grpc/pull/35292) was [reverted](https://github.com/grpc/grpc/commit/96b9e8d3e3fd93ed4c6285c2c5b60efc621a6f93) because some tests started failing after import the changes to g3. After investigation, we found root cause, it can be fixed both on our side and on gapic API side, we opened an issue to [gapic API team](https://github.com/googleapis/python-api-core/issues/579), this PR will includes the fixes on our side. <!-- If you know who should review your pull request, please assign it to that person, otherwise the pull request would get assigned randomly. If your pull request is for a specific language, please add the appropriate lang label. --> Closes #35439 COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35439 from XuanWang-Amos:reapply_otel 01335644382f1371a6c9fa98f66898f2fd1f8f50 PiperOrigin-RevId: 595746222
Diffstat (limited to 'templates')
-rw-r--r--templates/src/python/grpcio_observability/_parallel_compile_patch.py.template23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/src/python/grpcio_observability/_parallel_compile_patch.py.template b/templates/src/python/grpcio_observability/_parallel_compile_patch.py.template
new file mode 100644
index 0000000000..1e1159666b
--- /dev/null
+++ b/templates/src/python/grpcio_observability/_parallel_compile_patch.py.template
@@ -0,0 +1,23 @@
+%YAML 1.2
+--- |
+ # Copyright 2023 The gRPC Authors
+ #
+ # Licensed under the Apache License, Version 2.0 (the "License");
+ # you may not use this file except in compliance with the License.
+ # You may obtain a copy of the License at
+ #
+ # http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing, software
+ # distributed under the License is distributed on an "AS IS" BASIS,
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+ #
+ # This file has been automatically generated from a template file.
+ # Please make modifications to
+ # `$REPO_ROOT/templates/src/python/grpcio/_parallel_compile_patch.py.template`
+ # instead. This file can be regenerated from the template by running
+ # `tools/buildgen/generate_projects.sh`.
+
+ <%include file="../_parallel_compile_patch.py.include" /> \ No newline at end of file