From 3b6b773c5ca50750af623692172db4b868a4bafa Mon Sep 17 00:00:00 2001 From: Srikanth Chekuri Date: Mon, 14 Nov 2022 16:57:57 +0530 Subject: [PATCH] Update exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/__init__.py --- .../src/opentelemetry/exporter/otlp/proto/grpc/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/__init__.py b/exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/__init__.py index c00882db726..ad57a711c3d 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/__init__.py +++ b/exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/__init__.py @@ -71,5 +71,5 @@ """ from .version import __version__ -otel_string = "OTel OTLP Exporter Python/" + __version__ -_OTLP_GRPC_HEADERS = [("user-agent", otel_string)] +_user_agent_header_value = "OTel OTLP Exporter Python/" + __version__ +_OTLP_GRPC_HEADERS = [("user-agent", _user_agent_header_value)]