From ada0210bb37b2278ec25292dec078ae5202a7e29 Mon Sep 17 00:00:00 2001 From: Toran Sahu Date: Fri, 3 Jul 2026 18:37:46 +0530 Subject: [PATCH] Fix typo s/Exporting more then/Exporting more than/g --- .../src/opentelemetry/exporter/cloud_trace/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/opentelemetry-exporter-gcp-trace/src/opentelemetry/exporter/cloud_trace/__init__.py b/opentelemetry-exporter-gcp-trace/src/opentelemetry/exporter/cloud_trace/__init__.py index fb7853dd..cab37cd0 100644 --- a/opentelemetry-exporter-gcp-trace/src/opentelemetry/exporter/cloud_trace/__init__.py +++ b/opentelemetry-exporter-gcp-trace/src/opentelemetry/exporter/cloud_trace/__init__.py @@ -240,7 +240,7 @@ def _translate_to_cloud_trace( if span.attributes and len(span.attributes) > MAX_SPAN_ATTRS: logger.warning( - "Span has more then %s attributes, some will be truncated", + "Span has more than %s attributes, some will be truncated", MAX_SPAN_ATTRS, ) @@ -340,7 +340,7 @@ def _extract_links( dropped_links = 0 if len(links) > MAX_NUM_LINKS: logger.warning( - "Exporting more then %s links, some will be truncated", + "Exporting more than %s links, some will be truncated", MAX_NUM_LINKS, ) dropped_links = len(links) - MAX_NUM_LINKS @@ -349,7 +349,7 @@ def _extract_links( link_attributes = link.attributes or {} if len(link_attributes) > MAX_LINK_ATTRS: logger.warning( - "Link has more then %s attributes, some will be truncated", + "Link has more than %s attributes, some will be truncated", MAX_LINK_ATTRS, ) trace_id = format_trace_id(link.context.trace_id) @@ -379,7 +379,7 @@ def _extract_events( dropped_annontations = 0 if len(events) > MAX_NUM_EVENTS: logger.warning( - "Exporting more then %s annotations, some will be truncated", + "Exporting more than %s annotations, some will be truncated", MAX_NUM_EVENTS, ) dropped_annontations = len(events) - MAX_NUM_EVENTS @@ -387,7 +387,7 @@ def _extract_events( for event in events: if event.attributes and len(event.attributes) > MAX_EVENT_ATTRS: logger.warning( - "Event %s has more then %s attributes, some will be truncated", + "Event %s has more than %s attributes, some will be truncated", event.name, MAX_EVENT_ATTRS, )